Page 1 of 1

transforming a JPEG imarge onto a PNG or GIF image

Posted: Mon Oct 27, 2003 6:11 am
by bermei
Hi all!

I am desperate doing a function which transforms a JPG image onto a GIF or PNG. I capture the image in a ImageCreateFromJpeg from an url, but I cannot save it in a GIF or PNG format (It gives me an error message). I have the GD library already installed.

I have done it in VBasic, but I would like to do it using PHP.

Do you know any way to do it?

Posted: Mon Oct 27, 2003 8:28 am
by volka
maybe if you show us the code...
which version of gd do you use

Code: Select all

<?php phpinfo(); ?>
will tell you

Posted: Mon Oct 27, 2003 8:33 am
by m3rajk
you might not have gif abilities (damn royalties)