Home > Backend Development > PHP Tutorial > Use ImageMagick to create cmyk color pictures, but the cmyk values ​​displayed in photoshop are different!

Use ImageMagick to create cmyk color pictures, but the cmyk values ​​displayed in photoshop are different!

WBOY
Release: 2016-07-06 13:52:36
Original
1971 people have browsed it

Hello everyone! I use ImageMagick in PHP to create a picture with cmyk color, but the cmyk value displayed in photoshop is different! For example: the color set through ImagickPixel in ImageMagick is cmyk(0,0,0,100) (black), but when viewed with an eyedropper in photoshop, it becomes cmyk(61,61,61,0). It's obviously not black visually. Please help analyze the reason, thank you!

Reply content:

Hello everyone! I use ImageMagick in PHP to create a picture with cmyk color, but the cmyk value displayed in photoshop is different! For example: the color set through ImagickPixel in ImageMagick is cmyk(0,0,0,100) (black), but when viewed with an eyedropper in photoshop, it becomes cmyk(61,61,61,0). It's obviously not black visually. Please help analyze the reason, thank you!

The code I tested is here: http://liudonghua.net/use-imagemagick-to-create-cmyk-image-in-php/

Someone on stackoverflow said that this is a bug of imagemagick. The solution provided is effective for simple colors, http://stackoverflow.com/questions/37981616/i-create-a-cmyk-image-by-php- imagemagick-but-cmyk-color-is-different-on-photosh

I reported this bug, friends in need can pay attention to it: https://bugs.php.net/bug.php?id=72481

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template