Convert colorspace of image in PHP (RGB to CMYK) without php-extensions like Imagick

1.7k views Asked by At

Can i convert colorspace of jpg image, without using third-party libraries like Imagick. WIth using native php functions only.

1

There are 1 answers

0
Plamen Nikolov On

There are a lot of color extraction and management functions exposed by GD extension which is bundled with PHP. http://php.net/manual/en/ref.image.php

Note that CMYK support was added in 2.0.22 of The GD extension.