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

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

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

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

Re: [PHP] GD2 gif resizing problem

2006-03-16 Thread John Nichel
tedd wrote: snip 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. /snip Untrue. GIF images *are* supported by the GD library. They were briefly taken out, but the support was

Re: [PHP] GD2 gif resizing problem

2006-03-16 Thread tedd
tedd wrote: snip 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. /snip Untrue. GIF images *are* supported by the GD library. They were briefly taken out, but the support was

Re: [PHP] GD2 gif resizing problem

2006-03-16 Thread Al
John Nichel wrote: tedd wrote: snip 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. /snip Untrue. GIF images *are* supported by the GD library. They were briefly taken out, but the

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.

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 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

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