imagetruecolortopalette returns a max of 128 colors
- From: Vegethalia <vegethalia@xxxxxxxxx>
- Date: Sun, 30 Dec 2007 13:04:44 -0800 (PST)
Dear all,
I'm sure that im doing something wrong, but I can't imagine what!
My problem is the following:
I create an image using imagecreatetruecolor, and, after some
painting, I push the resulting image to the client in 256 colors:
imagetruecolortopalette($this->m_oIMG, false, 256);
header("Content-type: image/png");
if(!imagepng($this->m_oIMG)) echo("Error Creating Image!!!");
The problem is that the resulting image never contain more that 128
colors! I can't push the 24bit image because of the size, as the
images are pretty big.
As you may imagine, the final image quality is quite horrible, for an
example,
http://eqsearchpro.pleyhades.com/ShowRecipe.php?item=8668&recipe=26059
save the image and open it with photoshop (for instance...), after
that, count the colors.
Any ideas? :)
Thx for your time,
Vegethalia.
.
- Follow-Ups:
- Re: imagetruecolortopalette returns a max of 128 colors
- From: Tim Roberts
- Re: imagetruecolortopalette returns a max of 128 colors
- Prev by Date: Re: How to auto detect a remote IMAP/POP3 server given only an email address ?
- Next by Date: Re: Forgotten password
- Previous by thread: Uploaded images displayed after a few minutes
- Next by thread: Re: imagetruecolortopalette returns a max of 128 colors
- Index(es):
Relevant Pages
|
|