image: truecolor to palette
- From: "jean marc" <jeanmarc.bourdaret@xxxxxxxxxxxxxxxxx>
- Date: 31 Aug 2005 01:31:58 -0700
Hello
I am trying to reduce a truecolor image to a palette one.
imagetruecolortopalette() works just fine, except, that I would like to
keep a few color unchanged. like a (255,0,0) red, a (255,255,255) white
.... and so on.
My truecolors images are somewhat greenish, with only a tiny bit of red
or white, so when I use imagetruecolortopalette(), those colors are
lost.
It would be great to initialise the destination palette with a few
colors, and then let imagetruecolortopalette() do the job for the rest
of the palette.
Is it possible ?
Thanks
.
- Prev by Date: Re: modify xml file php script
- Next by Date: Re: re:PHP5 Java Bridge Configuration
- Previous by thread: modify xml file php script
- Next by thread: Re: re:PHP5 Java Bridge Configuration
- Index(es):