#23178 [Fbk->NoF]: corrupt header with imagegd2()
| From: | sniper@php.net | Date: | Mon, 28 Apr 2003 16:33:38 +0000 |
| Subject: | #23178 [Fbk->NoF]: corrupt header with imagegd2() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-38613@lists.php.net to get a copy of this message | ||
ID: 23178
Updated by: sniper@php.net
Reported By: alberty at neptunelabs dot de
-Status: Feedback
+Status: No Feedback
Bug Type: GD related
Operating System: i686-pc-linux-gnu
PHP Version: 4CVS-2003-04-12 (stable)
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2003-04-23 03:35:25] sniper@php.net
Please provide a sample script that shows how this is
supposedly broken..
------------------------------------------------------------------------
[2003-04-12 08:01:19] alberty at neptunelabs dot de
Hi,
the imagegd2 command with the bundled gdlib (2.0.11 & 2.0.12)
writes wrong gd2 images.
the command writes an incorrect file header, and also the command
doesnt support the compression feature, although GD2_FMT_COMPRESSED
is declared.
The sources in gd.c declares IMG_GD2_COMPRESSED but it i cant see any
gd2 support for these in _php_image_output().
The correct calling ist
gdImageGd2(im, out, 0, GD2_FMT_COMPRESSED);
gdImageGd2(im, out, 0, GD2_FMT_RAW);
resp:
gdImageGd2(im, out, cs, fmt);
instead of
gdImageGd2(im, out);
in the default: case.
Kind regards,
Steve
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23178&edit=1