RE: [PHP] can't generate gif!!!
| From: | Ben Bleything | Date: | Sun, 08 Jul 2001 16:23:36 +0000 |
| Subject: | RE: [PHP] can't generate gif!!! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56770@lists.php.net to get a copy of this message | ||
Also, if you don't need to do this on the fly (or even if you do, in
certain cases) just use 'convert', a standard unix tool (fairly
standard, anyway). So if, for instance, your users are uploading a gif,
and you need a png (so that you can tweak with it), you could write it
to a file, and then
echo
convert upload.gif output.png;
your_functions_here('output.png');
Ben
-----Original Message-----
From: Henrik Hansen [mailto:hh@mailserver.dk]
Sent: Sunday, July 08, 2001 3:16 AM
To: php-general@lists.php.net
Subject: Re: [PHP] can't generate gif!!!
"Rama" <php@mailops.com> wrote:
> I have problem using all image functions for gif.
> Does anyone have a suggestion how to convert gif images to png
images?
> It's ok if I have to use other programming language instead of PHP.
>
> Ps: in case you wonder, I can't control the input file type. It will
be
> very helpful if I can at least convert to other image format.
what gdlib version do you use, as gif support is removed in the newer
versions, due to license stuff.
--
Henrik Hansen