Page 1 of 1

Debian Commandline | Does ImageMagick obtain metadata

Posted: 2015-08-12T05:26:41-07:00
by Webice
That's my hole Question,

when i working with ImageMagick, does it obtain the metadata of an image in any way?

Kind regards
Webice

Re: Debian Commandline | Does ImageMagick obtain metadata

Posted: 2015-08-12T06:19:01-07:00
by glennrp
Yes. Try running

Code: Select all

identify -verbose image.jpg
for starters.

Re: Debian Commandline | Does ImageMagick obtain metadata

Posted: 2015-08-12T07:22:35-07:00
by Webice
Does it obtain them too, when i convert an image to another format or size or whatever i want?

Re: Debian Commandline | Does ImageMagick obtain metadata

Posted: 2015-08-12T07:46:38-07:00
by Bonzo
Does it obtain them too, when i convert an image to another format or size or whatever i want?
What happened when you tried?

Re: Debian Commandline | Does ImageMagick obtain metadata

Posted: 2015-08-12T22:43:20-07:00
by Webice
I can't test it right now. That's why i am asking.

Re: Debian Commandline | Does ImageMagick obtain metadata

Posted: 2015-08-12T23:20:55-07:00
by fmw42
Yes, if the convert command is not too complex with other images involved and the new format supports that meta data.

But you have not said what type of meta data, nor what formats? Also please always provide your version of IM and platform when asking questions.

Re: Debian Commandline | Does ImageMagick obtain metadata

Posted: 2015-08-12T23:23:28-07:00
by Webice
Thanks for your answers!

Kind regards
Webice

Re: Debian Commandline | Does ImageMagick obtain metadata

Posted: 2015-08-12T23:55:01-07:00
by snibgo
The question is too vague. ImageMagic reads most metadata of images. It has to, to find width and height etc. It may not read all metadata, because some isn't relevant to ImageMagic.

Re: Debian Commandline | Does ImageMagick obtain metadata

Posted: 2015-08-13T00:04:03-07:00
by Webice
Okey, so EXIF Metadata wont be read? and whats up with XMP or ICC Profile?

And whats going on with the Metadata when i do a Calculation with -flatten?

Thanks in advance
Kind Regards
Webice

Re: Debian Commandline | Does ImageMagick obtain metadata

Posted: 2015-08-13T00:28:30-07:00
by snibgo
EXIF data is read. See http://www.imagemagick.org/script/escape.php . Manufacturer-specific data (such as "Nikon:") is not. (EDIT: Or, rather, "Nikon:" metadata is read but not accessible through "-format".)

ICC profiles are read, and used for colour conversions.

Re: Debian Commandline | Does ImageMagick obtain metadata

Posted: 2015-08-13T00:47:11-07:00
by Webice
And which Metadata is stored when i use -flatten? -flatten is for multiple layers, when i have to images i use as 2 layers which metadata is stored in the new created image, or is there no metadata from the original images?

Re: Debian Commandline | Does ImageMagick obtain metadata

Posted: 2015-08-13T00:53:44-07:00
by snibgo
Output metadata will come from the first image in the list.