Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Image resampling at 80% when there is no resize  (Read 2980 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.019 seconds with 19 queries.