php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17737 imagetruecolortopalette failed
Submitted: 2002-06-13 05:37 UTC Modified: 2002-09-11 11:18 UTC
From: matthew dot waygood at somehwere dot tv Assigned:
Status: Not a bug Package: GD related
PHP Version: 4.2.1 OS: Win 2K, IIS
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: matthew dot waygood at somehwere dot tv
New email:
PHP Version: OS:

 

 [2002-06-13 05:37 UTC] matthew dot waygood at somehwere dot tv
When I create a truecolor image, add in 2 rectangles as a test then convert it to a paletted format using imagetruecolortopalette($im, TRUE, 100) I get the following output :-

PHP has encountered an Access Violation at 77F821E1

If I omit the line and just move straight to imagepng($im) or imagejpeg($im) everything works okay.

I have GD2 installed with PHP 4.2.1 on Windows 2000 machine
it has also been tested on a remote FreeBSD 4.5 machine with Apache (GD2,php4.2.1) and it failed totally with webpage found.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-13 05:56 UTC] mfischer@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

Can you try download a snapshot from http://snaps.php.net/php4-latest.tar.gz , ./configure --with-gd=php --enable-debug and give us a backtrace?
 [2002-09-11 11:18 UTC] sniper@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 06 12:01:31 2024 UTC