forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: MindFly on February 27, 2005, 02:38:52 pm

Title: Image resampling at 80% when there is no resize
Post by: MindFly on February 27, 2005, 02:38:52 pm
When my intermediate image size for image processing is set at 1024 in the admin config panel, and i upload a 1024*768 resolution jpeg. Coppermine does not resample the image at the set jpeg image quality (e.g. 80%).

so, an image of 1024 * 768 remains +- 350 kb, when it could be +- 130 kb at 80% quality.

Is there a fix for this, or could this be a new feature in future releases?

Thanks,
W.
Title: Re: Image resampling at 80% when there is no resize
Post by: kegobeer on February 27, 2005, 03:33:40 pm
Currently Coppermine doesn't resize original images.  That setting is only used when creating intermediate images and thumbnails.  Intermediate images are only created when the image dimensions are larger than the width/height/max aspect (in the config options).  If you have width as the determining factor, then 1024=1024 and no intermediate image is created.

1.4 has an admin option that, during the upload process, resizes images that are larger than allowed.
Title: Re: Image resampling at 80% when there is no resize
Post by: MindFly on February 27, 2005, 04:01:21 pm
Thanks for the info, i modded the util.php class to add a 'resample original photo at 80% quality' option

It works fine and saves me a lot of diskspace.

Thanks again
W.