How did you fix PNG transparency in resized images please?
Posted: Wed Jul 19, 2006 12:41 am
Hi
I'm struggling with a problem in some code that i'm writing. I need to upload an resize images using GDlib, but whenever I do this with transparent PNGs it gives them a black background.
Searching Google for possible solutions I came across this page: http://www.s9y.org/32.html (the todo list)
which has this excerpt:
"! Figure out how to preserve PNG and GIF transparency when resizing images with GDlib (FIX: PNG transparency works)"
Please could one of the developers shed some light on how you fixed this for PNGs please?
I'd really appreciate you help (and will donate!)
cheers
steve
I'm struggling with a problem in some code that i'm writing. I need to upload an resize images using GDlib, but whenever I do this with transparent PNGs it gives them a black background.
Searching Google for possible solutions I came across this page: http://www.s9y.org/32.html (the todo list)
which has this excerpt:
"! Figure out how to preserve PNG and GIF transparency when resizing images with GDlib (FIX: PNG transparency works)"
Please could one of the developers shed some light on how you fixed this for PNGs please?
I'd really appreciate you help (and will donate!)
cheers
steve
