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: Thumbs too big  (Read 6475 times)

0 Members and 1 Guest are viewing this topic.

Frederic Furnelle

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Thumbs too big
« on: February 07, 2006, 02:41:53 pm »

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
« Last Edit: February 11, 2006, 10:35:59 pm by GauGau »
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Thumbs too big
« Reply #1 on: February 07, 2006, 04:55:35 pm »

do you have an actual version of Image Magick installed?

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Thumbs too big
« Reply #2 on: February 08, 2006, 01:31:55 am »

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

Frederic Furnelle

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Thumbs too big, more tests
« Reply #3 on: February 09, 2006, 10:10:49 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Thumbs too big
« Reply #4 on: February 10, 2006, 12:56:36 am »

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

Frederic Furnelle

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Thumbs too big
« Reply #5 on: February 11, 2006, 11:10:32 am »

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
 :)
Logged
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 20 queries.