Page 1 of 1

Image metadata wrong mimetype

Posted: 09 Aug 2017 17:46
by fagci
When I load metadata from image from camera, IMG_20170720_184159.jpg, I got video/ffmpeg. So strange...

ExifTool shows MIME Type : image/jpeg
...but that from exif data, may be that is different location.

Re: Image metadata wrong mimetype

Posted: 10 Aug 2017 13:00
by Martin
Hi,

Did you use action Init Variable Image Metadata or Init Variables Media Metadata? Could you please send me a sample image to info@automagic4android.com so I can try to reproduce the problem? The image does not have to contain anything special, just a black picture is perfectly fine.

Thanks & Regards,
Martin

Re: Image metadata wrong mimetype

Posted: 10 Aug 2017 14:18
by fagci
Martin wrote:Hi,

Did you use action Init Variable Image Metadata or Init Variables Media Metadata? Could you please send me a sample image to info@automagic4android.com so I can try to reproduce the problem? The image does not have to contain anything special, just a black picture is perfectly fine.

Thanks & Regards,
Martin
Init Variables Media Metadata.
But will be nice, if we can grab metadata from many types of content (may be so hard work, just an idea).

Re: Image metadata wrong mimetype

Posted: 10 Aug 2017 15:13
by Martin
Thanks for the sample image and the description!

Action Init Variable Media Metadata uses a built-in feature of Android to get the metadata. This feature does not even support reading metadata of images on most ROMs, it usually just supports audio files and video files but your ROM seems to handle images too but in a strange way.
For reading metadata of images I recommend to use action Init Variables Image Metadata which provides most EXIF information available in an image.

Regards,
Martin

Re: Image metadata wrong mimetype

Posted: 10 Aug 2017 16:36
by fagci
Got it, Martin! Thanks=)

Re: Image metadata wrong mimetype

Posted: 10 Aug 2017 17:21
by Desmanto
This just remind me that I ever wanna use tasker to check for Image metadata (can't find any plugin for it). Now I realize I can do it easily in automagic. Just simply share it to automagic intent receiver, parse the file path and feed it to Init Variables Image Metadata.