forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 modpack by Stramm => Topic started by: nickfzx on November 09, 2006, 04:04:04 pm
-
hi so if I turn on thumb sharpening it creates undesirable results if the images are gif files...jpegs work great and look a lot better.
here is an example of what happens:
http://amateurillustrator.com.s2734.gridserver.com/cpg/index.php
as I may be changing this link a lot here is a screenshot:
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Famateurillustrator.com.s2734.gridserver.com%2Fthumbs.jpg&hash=ecf5a0a09039b2e47de4aee9b88d0ef5cfc84a6a)
Any ideas?
Cheers
Nick
-
has no one else experienced this...the two on the left are jpegs and the two on the right are gif files.
-
As they say... patiencie is a virtue. Give it a few days before expecting an answer from someone who knows.
Cheers!
Hein
-
sharping (ie the unsharpen mask) adds more detail, hence colors, to the image. Cause the number of colors in a gif image are limited, the result may look (when sharpened) poor.
The most practical solution is to not allow sharpening for gif images
in include/picmgmnt.inc.php find
if ($sharpen==1 && $CONFIG['enable_unsharp']==1) {
and replace with
if ($sharpen==1 && $CONFIG['enable_unsharp']==1 && $imginfo[2] != GIS_GIF) {
-
that's great thanks