Advanced search  

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

Pages: [1]   Go Down

Author Topic: Image resampling at 80% when there is no resize  (Read 2961 times)

0 Members and 1 Guest are viewing this topic.

MindFly

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Image resampling at 80% when there is no resize
« 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.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Image resampling at 80% when there is no resize
« Reply #1 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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Image resampling at 80% when there is no resize
« Reply #2 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.