Thumbs too big Thumbs too big
 

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

Thumbs too big

Started by Frederic Furnelle, February 07, 2006, 02:41:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Frederic Furnelle

Hi,
I have a coppermine gallery running and working fine.
I have no real problems.
BUT my thumbs file size are too big.
I have uploaded picture of about 900X600 pixels (about 100-140k)
and I have set the size of thumb to 50 wich gives 75x50 but the size is around 40k!!!!!
I have tried to set the the quality of JPG in the config to as low as 10 but it didn't change anything, even after resizing the thumbs with the admin tools.
Image Magick is installed for handling the pictures.
Does anybody know why i can't get smaller JPG size???

Thanx

frederic

Stramm

do you have an actual version of Image Magick installed?

check the orig image
identify -verbose /path/to/file.jpg

Joachim Müller

post a link to your page, my guess is that you're using a compression level that is much too high quality.

Frederic Furnelle

As far as I know Image Magick is installed, as my provider told me he did it, and I can select it in the config Menu.

Now I did a few more test:
with Image Magick selected as  "Method for resizing images", I tried the settings between 5 and 50 and no apparent change in file size/quality.  The thumbs are beautiful BUT TOO BIG.
Then I tried GD V2 as "Method for resizing images", I tried Settings between 5 and 100.  The file size is very small, between 800 b and 5k! but the quality is fairly poor.  So this is ok for the size but  it'd be great if I could improve the quality.

You can see for yourself:
all thumbs on my site are still the Image Magick setting 50.
exept Nepal 1998 GD 2 setting 100

www.inguz.be

Thanx for the help and time

Joachim Müller

If you have GD2, use it instead of ImageMagick, with compression set to default (80%)

Frederic Furnelle

Well I resized the thumbs with GD2 and setting 80.
Now the file size of the thumbs is OK +/- 2KB.  But the quality is a bit crapy, although I can live with it.
So in case anybody knows why Image Magick make such big thumbs and would have a way to make better quality thumbs, I'll live with this.

Thanks again for the help
:)