Faster way to extract profile-icc info from a jpeg?

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?".

Faster way to extract profile-icc info from a jpeg?

Postby jamlin423 » 2008-10-15T11:31:34+00:00

Is there any faster way other than identify -verbose if I only want to extract profile-icc info from a jpeg?
jamlin423
 

Re: Faster way to extract profile-icc info from a jpeg?

Postby magick » 2008-10-15T11:42:27+00:00

Try

    convert image.jpg iptc:profile.iptc
    convert image.jpg xmp:profile.xmp

etc.
User avatar
magick
Site Admin
 
Posts: 9545
Joined: 2003-05-31T11:32:55+00:00

Re: Faster way to extract profile-icc info from a jpeg?

Postby jamlin423 » 2008-10-15T12:46:01+00:00

this is much faster than identify -verbose! plus, for jpegs with no embedded color profiles, i can just check file size of output profile.icm to identify.

is there any major difference between convert 1.jpg icc: profile.icm and convert 1.jpg profile.icm?
jamlin423
 

Re: Faster way to extract profile-icc info from a jpeg?

Postby magick » 2008-10-15T13:09:09+00:00

Here's an even faster way although it only works with JPEG:

    convert -size 64x64 image.jpg profile.icm
User avatar
magick
Site Admin
 
Posts: 9545
Joined: 2003-05-31T11:32:55+00:00

Re: Faster way to extract profile-icc info from a jpeg?

Postby jamlin423 » 2008-10-15T13:47:33+00:00

i think you meant:
convert -size 64x64 image.jpg profile.icm
?

it's indeed faster, especially for big files!
jamlin423
 

Re: Faster way to extract profile-icc info from a jpeg?

Postby anthony » 2008-10-15T18:29:46+00:00

I have added this information to IM Examples, Formats, Profiles section, and will appear in a day or so.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
http://www.imagemagick.org/Usage/
User avatar
anthony
 
Posts: 8684
Joined: 2004-05-31T19:27:03+00:00
Location: Brisbane, Australia

Re: Faster way to extract profile-icc info from a jpeg?

Postby jamlin423 » 2008-10-17T15:01:14+00:00

Glad to have helped contributing to the examples!
jamlin423
 


Return to Users

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 12 guests