can i get image info ?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
user123
Posts: 3
Joined: 2013-01-21T04:45:13-07:00
Authentication code: 6789

can i get image info ?

Post by user123 »

Can i get answers to questions by imageMagic ?
I am interested in the following information :
1) format version (for example 1.1, 1.3 etc);
2) color space - RGB or CMYK;
3) see if there is transparency;
Thanks for the help
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: can i get image info ?

Post by snibgo »

IM gives lots of information about an image:

Code: Select all

identify -verbose x.jpg
This will tell you if the image is RGB or CMYK, and whether there is transparency (an alpha channel).

(1) format version -- version of what?
snibgo's IM pages: im.snibgo.com
user123
Posts: 3
Joined: 2013-01-21T04:45:13-07:00
Authentication code: 6789

Re: can i get image info ?

Post by user123 »

Thank you.
I wanted to say version file type.
Thanks again for your help.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: can i get image info ?

Post by fmw42 »

I do not think IM can get or keep track of the version of a given file type.

See the list of information and string format commands at http://www.imagemagick.org/script/escape.php
Last edited by fmw42 on 2013-02-01T12:04:38-07:00, edited 1 time in total.
circar consulting
Posts: 1
Joined: 2013-02-01T01:45:51-07:00
Authentication code: 6789

Re: can i get image info ?

Post by circar consulting »

Hello,

Can you please make one thing clear to me ? you have mentioned about some format, is it the image file format or about which format your are talking about ?

Thanks.
Post Reply