Page 1 of 1

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

Posted: 2008-10-15T11:31:34-07:00
by jamlin423
Is there any faster way other than identify -verbose if I only want to extract profile-icc info from a jpeg?

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

Posted: 2008-10-15T11:42:27-07:00
by magick
Try
  • convert image.jpg iptc:profile.iptc
    convert image.jpg xmp:profile.xmp
etc.

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

Posted: 2008-10-15T12:46:01-07:00
by jamlin423
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?

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

Posted: 2008-10-15T13:09:09-07:00
by magick
Here's an even faster way although it only works with JPEG:
  • convert -size 64x64 image.jpg profile.icm

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

Posted: 2008-10-15T13:47:33-07:00
by jamlin423
i think you meant:
convert -size 64x64 image.jpg profile.icm
?

it's indeed faster, especially for big files!

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

Posted: 2008-10-15T18:29:46-07:00
by anthony
I have added this information to IM Examples, Formats, Profiles section, and will appear in a day or so.

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

Posted: 2008-10-17T15:01:14-07:00
by jamlin423
Glad to have helped contributing to the examples!