(Of course, I don’t complain about that fact.)
If I have an image file with a fake extension, say
bmp
for a jpeg file needing the import filter JPEG - Joint Photographic Experts Group
, and call Insert>Image
for it, LibO uses the correct filter.
I would like to know the media type, and by that the needed filter in advance extracting the information directly from the file. As a recorded macro shows by the args()
it creates, the process also does it in advance of calling the import command from the slot-machine.
How can I do so?