Re: ImageField performance

2009-07-17 Thread Fredz./
ave should be any different. Regards, Fredz./ On Jul 17, 3:56 pm, Sergio Oliveira wrote: > sorry, it's not the same bug... > looks like your code is removing protection of reading the file in chunks, > so you could load a huge image in the memory which is not a good idea at > all

Re: ImageField performance

2009-07-17 Thread Fredz./
me old CPU that took 1.5 hours to process). I've done the test multiple times to make sure the image didn't get cached in some way. Cheers, Fredz./ On Jul 17, 2:04 pm, "Fredz./" wrote: > I have a model that has a ImageField, and I uploaded a sample image of > 35 megs.

ImageField performance

2009-07-17 Thread Fredz./
I have a model that has a ImageField, and I uploaded a sample image of 35 megs. This image will be used at different places and resized for those different purposes. I noticed that the django.core.files.images --> get_image_dimensions seems to be slow. It took more than an hour and a half to pro