Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: Problem creating image on the fly


Message #1 by Jennifer <toxlists@c...> on Wed, 13 Jun 2001 00:42:55 -0400
I am creating an image on the fly and I have no problem if I am just using 
a background color and adding text to it or if I use ImageCreateFromPNG, 
but if I use ImageCreateFromJPEG and try to add text on top of that or even 
a rectangle or anything on top, it seems to ignore the color that I specify 
and always comes out grey.

Why can't I get it to recognize the color of anything that I add to an 
image that I read in as a jpeg?

It doesn't matter what I output it as, only what I read it in as.

And if I read it in as a png, the image quality is horrible which I also 
don't understand. It seems to have drastically reduced the number of colors 
used.

Jennifer

-----------------------------------------------------------
Targeted Traffic is the KEY to greater Net income.
Site Build It! turns the key... the COMPLETE solution.
http://www.sitesell.com/traffic.html
-----------------------------------------------------------


  Return to Index