Home > Archive > PHP Programming > December 2007 > Getting image as GIF
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Getting image as GIF
|
|
| jodleren 2007-12-24, 10:07 pm |
| Hi all!
I am new to images, and I work with a list of files - which for other
reasons is a list of gif files (I test for $file.gif).
I have found imagecreatefromgif and getimagesize which does pretty
much what I need.
Though, can I convert other images to GIF?
I took a look and did not find that much... something like save image
as... gif?
WBR & good night
Sonnich
| |
| Dave Kelly 2007-12-25, 7:02 pm |
| On Dec 24, 7:25 pm, jodleren <sonn...@hot.ee> wrote:
> Hi all!
>
> I am new to images, and I work with a list of files - which for other
> reasons is a list of gif files (I test for $file.gif).
>
> I have found imagecreatefromgif and getimagesize which does pretty
> much what I need.
>
> Though, can I convert other images to GIF?
>
> I took a look and did not find that much... something like save image
> as... gif?
>
> WBR & good night
> Sonnich
Down load 'Imagemagick' and run it thought 'convert'.
| |
| Rik Wasmus 2007-12-27, 7:02 pm |
| On Tue, 25 Dec 2007 02:25:47 +0100, jodleren <sonnich@hot.ee> wrote:
> Hi all!
>
> I am new to images, and I work with a list of files - which for other
> reasons is a list of gif files (I test for $file.gif).
>
> I have found imagecreatefromgif and getimagesize which does pretty
> much what I need.
>
> Though, can I convert other images to GIF?
>
> I took a look and did not find that much... something like save image
> as... gif?
Several possibilities.
With the standard bundled GD, you could use the imagecreatefrom*()
functions (or imagecreatefromstring()), and the use imagegif() to save
them again.
--
Rik Wasmus
|
|
|
|
|