Upgrade php5-gd on 12.04?

Posted by metrobalderas on Ask Ubuntu See other posts from Ask Ubuntu or by metrobalderas
Published on 2012-11-04T16:50:53Z Indexed on 2012/11/04 17:16 UTC
Read the original article Hit count: 239

Filed under:
|
|

I'm working with the GD library for image manipulation, to which I need to create some transparent PNGs. Instead, I'm getting a black background. I've looked everywhere on how to generate a blank, transparent PNG canvas with it and all the answers just don't work for me.

On further inspection, I'm working with an old GD version:

The functions needed to create a transparent PNG requires 2.0.1 altough 2.0.28 or later is recommended. I installed php5-gd with apt-get, and aptitude haven't found new packages.

Do I have to add a new PPA? Where can I find it? What about forcing a version?

Thanks in advance!

© Ask Ubuntu or respective owner

Related posts about PPA

Related posts about php