Getting image as GIF
am 25.12.2007 02:25:47 von jodleren
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
Re: Getting image as GIF
am 25.12.2007 21:20:06 von Dave Kelly
On Dec 24, 7:25 pm, jodleren 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'.
Re: Getting image as GIF
am 27.12.2007 18:08:55 von luiheidsgoeroe
On Tue, 25 Dec 2007 02:25:47 +0100, jodleren 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