Re: [PHP] GD2 gif resizing problem

2006-03-16 Thread Al
John Nichel wrote: tedd wrote: Here's my take -- gif's are no longer supported by the GD library because of patent problems. So development of how to deal with them has been moved to png. Untrue. GIF images *are* supported by the GD library. They were briefly taken out, but the support w

Re: [PHP] GD2 gif resizing problem

2006-03-16 Thread tedd
tedd wrote: Here's my take -- gif's are no longer supported by the GD library because of patent problems. So development of how to deal with them has been moved to png. Untrue. GIF images *are* supported by the GD library. They were briefly taken out, but the support was re-enabled in v2.

Re: [PHP] GD2 gif resizing problem

2006-03-16 Thread John Nichel
tedd wrote: Here's my take -- gif's are no longer supported by the GD library because of patent problems. So development of how to deal with them has been moved to png. Untrue. GIF images *are* supported by the GD library. They were briefly taken out, but the support was re-enabled in v2.

Re: [PHP] GD2 gif resizing problem

2006-03-16 Thread Al
tedd wrote: Based on the area increase; I'd expect the file size to about double, not be 4x as large. $src_img = imagecreatefromgif($filename); $dest_img = imagecreatetruecolor($new_width, $new_height); Can anyone explain or have a solution? Here's my take -- gif's are no longer supported b

Re: [PHP] GD2 gif resizing problem

2006-03-16 Thread tedd
Based on the area increase; I'd expect the file size to about double, not be 4x as large. $src_img = imagecreatefromgif($filename); $dest_img = imagecreatetruecolor($new_width, $new_height); Can anyone explain or have a solution? Here's my take -- gif's are no longer supported by the GD libr

Re: [PHP] GD2 gif resizing problem

2006-03-16 Thread Al
Jochem Maas wrote: Al wrote: I'm trying to resize GIF images and up with very large files For example: Original width = 720 New width = 980 Original height = 1008 New height = 1274 Original filesize = 80kb After resizing = 235kb Based on the area increase; I'd expect the file size to about dou

Re: [PHP] GD2 gif resizing problem

2006-03-16 Thread Jochem Maas
Al wrote: I'm trying to resize GIF images and up with very large files For example: Original width = 720 New width = 980 Original height = 1008 New height = 1274 Original filesize = 80kb After resizing = 235kb Based on the area increase; I'd expect the file size to about double, not be 4x as l

Re: [PHP] GD2 gif resizing problem

2006-03-15 Thread Al
John Nichel wrote: Al wrote: Philip Hallstrom wrote: I'm trying to resize GIF images and up with very large files For example: Original width = 720 New width = 980 Original height = 1008 New height = 1274 Original filesize = 80kb After resizing = 235kb Based on the area increase; I'd expect t

Re: [PHP] GD2 gif resizing problem

2006-03-15 Thread John Nichel
Al wrote: Philip Hallstrom wrote: I'm trying to resize GIF images and up with very large files For example: Original width = 720 New width = 980 Original height = 1008 New height = 1274 Original filesize = 80kb After resizing = 235kb Based on the area increase; I'd expect the file size to abou

Re: [PHP] GD2 gif resizing problem

2006-03-15 Thread Al
Philip Hallstrom wrote: I'm trying to resize GIF images and up with very large files For example: Original width = 720 New width = 980 Original height = 1008 New height = 1274 Original filesize = 80kb After resizing = 235kb Based on the area increase; I'd expect the file size to about double,

Re: [PHP] GD2 gif resizing problem

2006-03-15 Thread Philip Hallstrom
I'm trying to resize GIF images and up with very large files For example: Original width = 720 New width = 980 Original height = 1008 New height = 1274 Original filesize = 80kb After resizing = 235kb Based on the area increase; I'd expect the file size to about double, not be 4x as large. $sr

[PHP] GD2 gif resizing problem

2006-03-15 Thread Al
I'm trying to resize GIF images and up with very large files For example: Original width = 720 New width = 980 Original height = 1008 New height = 1274 Original filesize = 80kb After resizing = 235kb Based on the area increase; I'd expect the file size to about double, not be 4x as large. $src