coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: exichlo on January 03, 2006, 12:11:50 AM

Title: lost quality
Post by: exichlo on January 03, 2006, 12:11:50 AM
Hi

Why after uploading the pictures (.gif) into my gallery, the quality of the picture get worse... lots of dots? Did I do something wrong or should I config it somehow?

Thanks
Title: Re: lost quality
Post by: ecto on January 03, 2006, 01:19:43 AM
Lots of dots? Do you mean on the thumbnails or in the original image? Please post a link to your gallery.
Title: Re: lost quality
Post by: exichlo on January 03, 2006, 12:13:29 PM
http://eshop.pandela.net/index.php

The pictures looks very poor although the original is much better. Please help
Title: Re: lost quality
Post by: whmeeske on January 03, 2006, 02:50:24 PM
Quote from: exichlo on January 03, 2006, 12:13:29 PM
The pictures looks very poor although the original is much better. Please help
Which tool do you use for making the thumbnails, GDx or ImageMagick?
I see your images are GIF's. I'm not sure that you get the same quality using GDx or ImageMagick with GIF's or JPG's.
I have mostly JPG's in my gallery and I'm satisfied with whe picture quality.

I'm interested if other CPG users can give more usefull information about this issue.
Title: Re: lost quality
Post by: Joachim Müller on January 03, 2006, 03:17:38 PM
GIFs have a reduced color palette (that's the nature of GIFs, they have a max color depth of 256 colors). When such a GIF get's resized, the results often look bad due to the dithering algorhythms. There's little you can do about this except manually creating the thumbnails on your client and uploading them manually.
Title: Re: lost quality
Post by: ecto on January 03, 2006, 03:23:28 PM
exichlo, it is not strange at all that the quality of your intermediate pics are a bit worse than the original, because:


What I suggest you do:


As to why Coppermine makes JPEG intermediates from GIF originals, I don't know if it's by design or by some limitation in GD. And about the GD vs. ImageMagick issue - From what I've read there's not that much of a difference between the two. It simply seems that some prefer GD and some prefer ImageMagick. Search these forums and Google and you'll find more answers and opinions.

Happy resizing  8)