Hi,
I noticed when extracting the metadata of a jxr file, the MIME type is set to application/unknown.
# /exif/Image-ExifTool-11.75/exiftool /test/sample.jxr
ExifTool Version Number : 11.75
File Name : sample.jxr
Directory : /test
File Size : 16 kB
File Modification Date/Time : 2019:11:05 17:12:32+00:00
File Access Date/Time : 2019:11:05 17:12:32+00:00
File Inode Change Date/Time : 2019:11:05 17:12:39+00:00
File Permissions : rwxr-xr-x
File Type : JXR
File Type Extension : jxr
MIME Type : application/unknown
Exif Byte Order : Little-endian (Intel, II)
Pixel Format : 24-bit RGB
Transformation : Horizontal (normal)
Image Width : 128
Image Height : 128
Width Resolution : 96
Height Resolution : 96
Image Offset : 134
Image Byte Count : 16710
Image Size : 128x128
Megapixels : 0.016
At first I thought it might be the file itself, so I tested some another jxr file with the same result.
When I use the linux file command to extract the mime type, it does so correctly:
# file --mime-type -b sample.jxr
image/jxr
The commands listed above were performed on a Ubuntu 18.04.3 LTS docker container.
Sample jxr file: https://www.aconvert.com/samples/sample.jxr
Kind regards,
kobellem
hi Kobellem,
Thanks for this report. I'll add this MIMEType for ExifTool 11.76
- Phil
Hi Phil.
Thanks for the quick response, good to hear it will be added in the next version. :)
Kind regards,
kobellem