Re: Using dimension_fields in models.ImageField cause performance penalties

2011-04-13 Thread stan
Thank Russ, I have opened a ticket : http://code.djangoproject.com/ticket/15817 Unfortunately, I can't find a easy way to solve the problem because the solution is somewhere in the ImageFileDesciptor.__set__() method which is a dangerous area ! Cordialement, Stanislas. On Apr 12, 2:03 pm,

Re: Using dimension_fields in models.ImageField cause performance penalties

2011-04-12 Thread Russell Keith-Magee
On Mon, Apr 11, 2011 at 8:16 PM, stan wrote: > The main purpose of the height_field and width_field attributes is to > give a performance boost in some situations, > these fields acting as a cache on the dimensions of the image. ... > The simple fact of posting an

Using dimension_fields in models.ImageField cause performance penalties

2011-04-11 Thread stan
The main purpose of the height_field and width_field attributes is to give a performance boost in some situations, these fields acting as a cache on the dimensions of the image. I recently have switched-on those attributes for a newspaper publishing project where we manipulate some huge .tiff