background of top image in imagecopymerge
Posted: Fri Jun 25, 2010 3:48 pm
I have a process that i have to take a clients image that is always jpg format and rescale it and have it display in a product thumb, now these thumbs are all the same size so i want to use a background pattern image and merge the two
I can do all this fine - but when i put the scaled down jpg image on top of the set size thumb and there is any extra space horizontally or vertically that space is black - now i did set the transparent color to black and remove it, but it also removes black in the clients image
anymore suggestions on how to handle this, working with images is fairly new to me in php and it seems php has a vast array of functions to handle images, so I think i am just on information overload and over looking what I should be doing.
Thanks in advance for any pointers
I can do all this fine - but when i put the scaled down jpg image on top of the set size thumb and there is any extra space horizontally or vertically that space is black - now i did set the transparent color to black and remove it, but it also removes black in the clients image
anymore suggestions on how to handle this, working with images is fairly new to me in php and it seems php has a vast array of functions to handle images, so I think i am just on information overload and over looking what I should be doing.
Thanks in advance for any pointers