I tried to run on my local server which works perfectly fine, and i compare my hosting and local server, the only difference of the GD library is that my local server is running 1.6.x libPNG while my online hosting is running 1.2.1 libPNG version, I guess this could be reason however i am unable to test because no idea how to downgrade my local host and my share hosting unable to upgrade that. consider a case close
to be precise, if i don’t do scaling, the background will become white, if i do scaling fit to width, the background will become black
it is already rgb, i tried
– save normally
– change to 32-bit and save
– save for web (transparent)
all result in black background