[PHP] Re: php-general Digest 25 Jan 2008 07:59:28 -0000 Issue 5255

2008-01-25 Thread Emil Edeholt
Hi! I have a website where people can upload photos and it creates previews. My problem is with pictures with big dimensions like 12000px height for example where the script times out. I've seen other sites that seems do be able to do this faster. I use gd to scale the image. Is there a

Re: [PHP] Re: php-general Digest 25 Jan 2008 07:59:28 -0000 Issue 5255

2008-01-25 Thread Per Jessen
Emil Edeholt wrote: Hi! I have a website where people can upload photos and it creates previews. My problem is with pictures with big dimensions like 12000px height for example where the script times out. I've seen other sites that seems do be able to do this faster. I use gd to scale the

Re: [PHP] Re: php-general Digest 25 Jan 2008 07:59:28 -0000 Issue 5255

2008-01-25 Thread Richard Lynch
On Fri, January 25, 2008 7:27 am, Eric Butera wrote: I think the memory size can (sort of) be determined by width * height * bits * channels / 8. I've never found anything better than that. There are a few comments on the php site in the gd section about such things but I've never seen it

Re: [PHP] Re: php-general Digest 25 Jan 2008 07:59:28 -0000 Issue 5255

2008-01-25 Thread Eric Butera
On Jan 25, 2008 1:39 PM, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, January 25, 2008 7:27 am, Eric Butera wrote: I think the memory size can (sort of) be determined by width * height * bits * channels / 8. I've never found anything better than that. There are a few comments on the php

Re: [PHP] Re: php-general Digest 25 Jan 2008 07:59:28 -0000 Issue 5255

2008-01-25 Thread Richard Lynch
On Fri, January 25, 2008 2:43 am, Emil Edeholt wrote: I have a website where people can upload photos and it creates previews. My problem is with pictures with big dimensions like 12000px height for example where the script times out. I've seen other sites that seems do be able to do this

Re: [PHP] Re: php-general Digest 25 Jan 2008 07:59:28 -0000 Issue 5255

2008-01-25 Thread Eric Butera
On Jan 25, 2008 3:43 AM, Emil Edeholt [EMAIL PROTECTED] wrote: Hi! I have a website where people can upload photos and it creates previews. My problem is with pictures with big dimensions like 12000px height for example where the script times out. I've seen other sites that seems do be able

Re: [PHP] Re: php-general Digest 25 Jan 2008 07:59:28 -0000 Issue 5255

2008-01-25 Thread Richard Lynch
On Fri, January 25, 2008 12:59 pm, Eric Butera wrote: On Jan 25, 2008 1:39 PM, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, January 25, 2008 7:27 am, Eric Butera wrote: I think the memory size can (sort of) be determined by width * height * bits * channels / 8. I've never found anything