Re: [PHP] Reading and using GIF files
From: Marek Kilimajer (kilimajer_at_webglobe.sk)
Date: 10/30/03
- Next message: - Edwin -: "Re: [PHP] Japanese entry into MySQL and into emails"
- Previous message: Fernando Melo: "RE: [PHP] PHP & Apache 2"
- In reply to: Benard Jean-Philippe: "Reading and using GIF files"
- Next in thread: Benard Jean-Philippe: "RE: [PHP] Reading and using GIF files"
- Reply: Benard Jean-Philippe: "RE: [PHP] Reading and using GIF files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Oct 2003 14:53:25 +0100 To: BENARD Jean-philippe <jean-philippe.benard-renexter@renault.com>
BENARD Jean-philippe wrote:
> Hi,
>
> Now GD doesn't support GIF file format, how can I use imageXXX
> functions in order to resize/transform/... GIF files?
> Are there any tools transforming GIF to JPG/PNG/..?
>
Use image functions in this order:
imagecreatefromgif - read the gif file
imagecreate - this will hold your resized image
imagecopyresampled - from the gif source to the new image
imagepng/imagejpeg - output the resampled image as png/jpg
- Next message: - Edwin -: "Re: [PHP] Japanese entry into MySQL and into emails"
- Previous message: Fernando Melo: "RE: [PHP] PHP & Apache 2"
- In reply to: Benard Jean-Philippe: "Reading and using GIF files"
- Next in thread: Benard Jean-Philippe: "RE: [PHP] Reading and using GIF files"
- Reply: Benard Jean-Philippe: "RE: [PHP] Reading and using GIF files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]