Image resampling at 80% when there is no resize Image resampling at 80% when there is no resize
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Image resampling at 80% when there is no resize

Started by MindFly, February 27, 2005, 02:38:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MindFly

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.

kegobeer

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.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

MindFly

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.