Tracker: Bugs

6 [G2][sizelimit] Resizes / Derivatives need to be updated too - ID: 1430340
Last Update: Settings changed ( andy_st )

Maybe related to recent changes, we upsample originals
when generating resizes, if the sizelimit module is
enabled.

Steps to reproduce:
1. enable sizelimit by dimensions 200x200 for an album
2. set the resize size to 640x480
2. add an image e.g. 800x800 to that album (dimensions
must be > than the sizelimit and > than the resize size
for that album)
result:
fullsize = 200x150 (or 200x? / ?x200 depending on the
aspect ratio of the originally uploaded items)
resize = 640x480, distorted / upsampled from our new
200x150 original

expected:
fullsize = 200x150
resize: none

solution:
in the SetSizelimitOption, we need to make sure that
the existing derivatives are smaller than the new
originals and if not, remove them.
for thumbnails, maybe keep them if they already were
generated or remove them and generate a new thumbnail
from the original (but don't upsample).


Andy Staudacher ( andy_st ) - 2006-02-12 23:09

6

Closed

Fixed

Andy Staudacher

None

Gallery 2

Public


Comments

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
status_id Open 2006-02-15 20:21 andy_st
resolution_id None 2006-02-15 20:21 andy_st
close_date - 2006-02-15 20:21 andy_st
assigned_to nobody 2006-02-15 15:10 andy_st