Hi,
I am wondering if there is a method within IM or .xml file or documentation where I can get mapping between IM format (e.g. JPEG, PNG, TIFF...) to mime type?
I need this to provide proper mime type to my client when generating images from blob. This images are not yet converted but I know the format to which they will be converted.
Also I have noticed that MagickToMime is doing crazy things like looking for files like '*.[fF]' not sure where when I only try to get mime type from loaded blob where the format is well known.
I could not find such mapping within source of IM.
Thanks,
Jakub
Magick format name to mime type
-
- Posts: 2
- Joined: 2013-08-08T07:11:20-07:00
- Authentication code: 6789