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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.