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: thumbnail is much bigger than it should be?  (Read 2826 times)

0 Members and 1 Guest are viewing this topic.

TerryG

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 45
thumbnail is much bigger than it should be?
« on: March 30, 2005, 07:58:20 am »

Hey All,

I just noticed something odd, that I'm hoping someone can explain to me....

We're overruning our bandwidth on our gallery site, so I started looking at the elements on the page and checking out their size.  We have the thumbnails shown on the filmstrip, and they are sized at be around 100 pixels tall.

I'm seeing some of the thumbnails to be outrageously big.  For instance one called Window, is 66x100 pixels and the jpg file, on disk is 32KB.  Loading it into photoshop, I can check its statistics and see tha it is 66x100 pixels at 16 million colors = 19.3 KB in memory.

And if I save it, using the least amount of JPG compression allowed by photoshop, the file on disk is 6K.

So why is the file, on disk, so big?  We're using ImageMagick, and the JPEG Quality was set at 75 (we've lowered it to 50) and we are creating intermediate files.   The only command line option being passed to IM is -antialias

Any suggestions or thoughts would be appreciated.  

Terry
« Last Edit: March 30, 2005, 05:49:07 pm by GauGau »
Logged

TerryG

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 45
Re: thumbnail is much bigger than it should be?
« Reply #1 on: March 30, 2005, 05:22:34 pm »


It was EXIF data that was causing this! I added -strip to the ImageMagick command line options to explicitly remove EXIF data and that seemed to clear it up.

Then, of course,  I found another thread here that talked about this.  Why it didn't come up on my original search (before I posted the question)  is beyond me!

:)

Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.