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