iliaa           Sun Mar  6 12:05:42 2005 EDT

  Modified files:              (Branch: PHP_4_3)
    /php-src    NEWS 
    /php-src/ext/standard       image.c 
  Log:
  MFH: Fixed bug #29424 (width and height inverted for JPEG2000 files).
  
  
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1247.2.849&r2=1.1247.2.850&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1247.2.849 php-src/NEWS:1.1247.2.850
--- php-src/NEWS:1.1247.2.849   Wed Mar  2 22:31:57 2005
+++ php-src/NEWS        Sun Mar  6 12:05:40 2005
@@ -85,6 +85,7 @@
   parameters). (Jani)
 - Fixed bug #29733 (printf() handles repeated placeholders wrong).  
   (bugs dot php dot net at bluetwanger dot de, Ilia)
+- Fixed bug #29424 (width and height inverted for JPEG2000 files). (Ilia)
 - Fixed bug #28976 (mail(): use "From:" from headers if sendmail_from is 
empty).
   (Jani)
 - Fixed bug #28930 (PHP sources pick wrong header files generated by bison).
http://cvs.php.net/diff.php/php-src/ext/standard/image.c?r1=1.72.2.17&r2=1.72.2.18&ty=u
Index: php-src/ext/standard/image.c
diff -u php-src/ext/standard/image.c:1.72.2.17 
php-src/ext/standard/image.c:1.72.2.18
--- php-src/ext/standard/image.c:1.72.2.17      Tue Mar  1 08:53:35 2005
+++ php-src/ext/standard/image.c        Sun Mar  6 12:05:41 2005
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: image.c,v 1.72.2.17 2005/03/01 13:53:35 sesser Exp $ */
+/* $Id: image.c,v 1.72.2.18 2005/03/06 17:05:41 iliaa Exp $ */
 
 #include "php.h"
 #include <stdio.h>
@@ -628,8 +628,8 @@
 
        dummy_short = php_read2(stream TSRMLS_CC); /* Lsiz */
        dummy_short = php_read2(stream TSRMLS_CC); /* Rsiz */
-       result->height = php_read4(stream TSRMLS_CC); /* Xsiz */
        result->width = php_read4(stream TSRMLS_CC); /* Ysiz */
+       result->height = php_read4(stream TSRMLS_CC); /* Xsiz */
 
 #if MBO_0
        dummy_int = php_read4(stream TSRMLS_CC); /* XOsiz */

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to