thumbnail is much bigger than it should be? thumbnail is much bigger than it should be?
 

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

thumbnail is much bigger than it should be?

Started by TerryG, March 30, 2005, 07:58:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TerryG

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

TerryG


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!

:)