Req #24443 [Asn->Csd]: GD support for CYMK jpg files
| From: | cmb@php.net | Date: | Mon, 05 Sep 2016 11:33:15 +0000 |
| Subject: | Req #24443 [Asn->Csd]: GD support for CYMK jpg files | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-203805@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=24443&edit=1
ID: 24443
Updated by: cmb@php.net
Reported by: seth at robustai dot net
Summary: GD support for CYMK jpg files
-Status: Assigned
+Status: Closed
Type: Feature/Change Request
Package: GD related
Operating System: Any
PHP Version: *
-Assigned To: pajoye
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Indeed, CMYK is supported as of GD 2.0.22, which has been bundled
with PHP 4.3.6, see <http://php.net/ChangeLog-4.php#4.3.6>.
Previous Comments:
------------------------------------------------------------------------
[2014-04-22 06:19:47] romtek at gmail dot com
GD extension already provides basic CMYK support. See http://www.boutell.com/gd/manual2.0.26.html#whatsnew2.0.22
------------------------------------------------------------------------
[2014-04-16 18:50:37] levim@php.net
I think GD added support for implicit CMYK to RGB conversion; does anyone know for sure? I'm
having trouble finding information.
------------------------------------------------------------------------
[2003-07-01 14:14:32] derick@php.net
Not a bug (it is just not supported); so we make it a feature request.
------------------------------------------------------------------------
[2003-07-01 13:46:37] seth at robustai dot net
Description:
------------
I get the following error when attempting to use this function on a CYMK jpg image.
Warning: imagecreatefromjpeg():
'/usr/local/www/vhosts/speaktomecatalog.com/htdocs/highRes/3STOOG.jpg' is not a valid JPEG
file in /usr/local/www/vhosts/speaktomecatalog.com/htdocs/db/eproduct.html on line 153
But the same function works fine when the image is a RGB image.
Is this a bug, or does the GD package just not support CYMK images ?
Thanks for your assistance.
Seth Russell
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=24443&edit=1