Skip to content

Is it possible to get color profile of an image from the image? #852

Answered by ausi
jcogs-design asked this question in Q&A
Discussion options

You must be logged in to vote

I think this depends on the driver.

// Imagick
$image->getImagick()->getImageProfile('icc');

// Gmagick
$image->getGmagick()->getimageprofile('ICM');

// GD does not support color profiles

These methods should return the binary data of the ICC profile.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jcogs-design
Comment options

Answer selected by jcogs-design
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants