PNG to JPEG, transparent background converts to black
Posted: 2010-05-06T13:14:17-07:00
When saving a PNG as JPEG by using $im->setimageformat('jpeg'), the resulting saved image has the transparent background replaced with a black background.
Is there any way to change the colour of this background?
Tried a lot of functions to no avail, setimagebackground(), setimagemattecolor().. Hope someone can help me
Is there any way to change the colour of this background?
Tried a lot of functions to no avail, setimagebackground(), setimagemattecolor().. Hope someone can help me