tags:

views:

369

answers:

1

Hi,

I have the thumbnail creation class written with php language using GD. I want to know is when i upload the transparent image which is png or gif, can i be able to put background in that thumbnail image ? If that's possible, please kindly guide me how. Thanks.

A: 

Why not:

  1. Create an image with the desired background
  2. Paint the transparent image above it
  3. Save the new image over the transparent one.
Allain Lalonde