cvs: pecl /imagick imagick.c package.xml

From: Date: Wed, 03 Mar 2004 20:39:06 +0000
Subject: cvs: pecl /imagick imagick.c package.xml
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-1001@lists.php.net to get a copy of this message
mcmontero Wed Mar 3 15:39:06 2004 EDT Modified files: /pecl/imagick imagick.c package.xml Log: - changed how certain errors are handled in _php_imagick_is_error() to be less restrictive. This apparently helps fix issues with certain types of images that otherwise appear corrupt. Thanks to Hien Duy Nguyenxi <hdn@umich.edu> for finding this, recommending the change and testing it. http://cvs.php.net/diff.php/pecl/imagick/imagick.c?r1=1.50&r2=1.51&ty=u Index: pecl/imagick/imagick.c diff -u pecl/imagick/imagick.c:1.50 pecl/imagick/imagick.c:1.51 --- pecl/imagick/imagick.c:1.50 Tue Jan 6 11:43:31 2004 +++ pecl/imagick/imagick.c Wed Mar 3 15:39:05 2004 @@ -16,7 +16,7 @@ | Christian Stocker (chregu@bitflux.ch) | +----------------------------------------------------------------------+ - $Id: imagick.c,v 1.50 2004/01/06 16:43:31 mcmontero Exp $ + $Id: imagick.c,v 1.51 2004/03/03 20:39:05 mcmontero Exp $ */ #ifdef HAVE_CONFIG_H @@ -5586,7 +5586,7 @@ return 1 ; } - if ( handle->exception.severity != UndefinedException ) + if ( handle->exception.severity >= ErrorException ) { _php_imagick_set_last_error( handle->exception.reason, handle->exception.description ) ; @@ -5595,7 +5595,7 @@ } if ( handle->image && - handle->image->exception.severity != UndefinedException ) + handle->image->exception.severity >= ErrorException ) { _php_imagick_set_last_error( handle->image->exception.reason, handle->image->exception.description ) ; http://cvs.php.net/diff.php/pecl/imagick/package.xml?r1=1.64&r2=1.65&ty=u Index: pecl/imagick/package.xml diff -u pecl/imagick/package.xml:1.64 pecl/imagick/package.xml:1.65 --- pecl/imagick/package.xml:1.64 Mon Jan 5 17:01:35 2004 +++ pecl/imagick/package.xml Wed Mar 3 15:39:06 2004 @@ -33,6 +33,10 @@ This was identified and tested by Sergio Salvatore (sergio@cucinalogica.com). - added function imagick_transparent() for setting a particular color to be transparent within an image. +- changed how certain errors are handled in _php_imagick_is_error() to be + less restrictive. This apparently helps fix issues with certain types + of images that otherwise appear corrupt. Thanks to Hien Duy Nguyenxi + <hdn@umich.edu> for finding this, recommending the change and testing it. </notes> <state>beta</state> </release>

« previous php.pecl.cvs (#1001) next »