note 16507 added to function.imagetruecolortopalette
| From: | rlorimor at asiaroadexportsSPAMNO dot com | Date: | Fri, 02 Nov 2001 09:25:44 +0000 |
| Subject: | note 16507 added to function.imagetruecolortopalette | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-20290@lists.php.net to get a copy of this message | ||
Ok...
I can't get this to work. I keep getting Access Violation at 77F821E1. Anyone with a working
example?
Using Windows IIS 5, PHP 4.06.
Here is my code example, but does not work:
header( "Content-type: image/x-png" );
$im_ping = ImageCreateFromPng( "testimage.png" );
$im_ping2 = ImageCreateTrueColor ( 80, 80 );
ImageCopyResized( $im_ping2, $im_ping, 0,0,0,0, 80, 80, 99, 99 );
ImageTrueColorToPalette( $im_ping2, TRUE, 8 );
--
http://www.php.net/manual/en/function.imagetruecolortopalette.php
http://master.php.net/manage/user-notes.php?action=edit+16507
http://master.php.net/manage/user-notes.php?action=delete+16507
http://master.php.net/manage/user-notes.php?action=reject+16507