Multi Commander > Support and Feedback
Drag and drop images from Firefox always converts them to BMP
(1/1)
Bone Reader:
When images are dragged from a web page in Firefox and dropped into a folder in Multi Commander, they are always converted to BMP They should keep their original format, like JPG or PNG.
When dropping the images into a folder in Windows Explorer, they do keep their original format without any conversion. Therefore the necessary information must exist.
Copying an image in Firefox and pasting it into an MC folder is also correctly handled. It's only with drag and drop, that the unwanted conversion occurs.
Mathias, did you ever consider making the whole project Open Source, so that others could help fixing all these little nuisances?
Mathias (Author):
I don't have FF, so don't know what the drop data they send. MC just save the data that it receives. Often it is files.
with clipspy ( https://www.softpedia.com/get/Office-tools/Clipboard/ClipSpy.shtml )
You can see what data FF is sending with d&d. and I can say if MC support that or not.
OpenSource. No MC is not a good project for that. it is too big. And no outsider would ever take the time to understand the codebase. it is massive.
And there is also a security concern. Having anybody be able to release a version of MC, a program that lots of people run as admin. It not good.
Bone Reader:
ClipSpy shows the following clipboard formats:
* CF_TEXT, with for example the content "https://multicommander.com/Images/FrontPageFeatures/networking-features.png"
* CF_UNICODETEXT, with the same content as CF_TEXT, but in UTF16
* CF_DIB, with some binary bitmap data
* CF_DIBV5, with more binary bitmap data
* CF_HDROP, with some binary data containing the text "D:\temp\Peter\h3ihzctz.bmp"So the clipboard contains URLs that point to the original image, binary bitmap data of the image and a path to a temporary *.bmp file for the image.
I guess one can not blame MC to take the available bitmap data instead of getting the original files from the URL (as Windows Explorer seems to do).
Therefore I withdraw my complaint. Thanks for pointing me to the ClipSpy app though.
Fun fact: Dragging and dropping an image from Edge to MC works as I would have expected. Why? Because Edge only delivers CF_TEXT and CF_UNICODETEXT in the clipboard and no bitmap data. Like with Firefox, both formats contain the image URL.
About making MC Open Source: I understand your concerns and of course respect your decision.
Mathias (Author):
Ok so FF so send both BITMAT and a FILE (HDROP)
MC take HDROP first if exists
Too take the picture is has to download it again. But that might be possible. I will check and see how other drop also work so it does not break something else
For Edge/Chrome it picks up the "FileContents" (file content) (Together with FilegroupDescriptorW for filename) that is the actual file already, That MC saves.
Navigation
[0] Message Index
Go to full version