Page 1 of 1
Setting image quality when using GD
Posted: Wed 8. Sep 2004, 10:22
by Pixelchaos
I was looking for a way to make my images a better quality, because the default compression is very heavy. While searching the forums I found two topics about changing the quality of images while using Imagemagick, but I cannot find information on how to change the quality when using GD.
Has anyone had this problem? How did you solve it?
Posted: Wed 8. Sep 2004, 11:31
by Pappnase
hello
look into your conf.inc.php beginnign from line 58
if it's possible chnage the settings to GD2
then better image Qual is possible.
Code: Select all
$phpwcms["compress_page"] = 3; //wenn 1 = Seite komprimieren, 0 = Kompresion aus
$phpwcms["imagick"] = 0; //if 0 = GD, 1 = ImageMagick convert, 2 = ImageMagick 4.2.9
$phpwcms["imagick_path"] = ""; //Path to ImageMagick
$phpwcms["use_gd2"] = 1; //if 0 = GD1, 1 = GD2
and at line 69
you can setup the quality
Code: Select all
$phpwcms["jpg_quality"] = 75; //JPG Quality Range 25-100
Posted: Wed 8. Sep 2004, 12:38
by Pixelchaos
I use version 1.1 RC4, but my conf.inc.php doesn't have this line:
Code: Select all
$phpwcms["jpg_quality"] = 75; //JPG Quality Range 25-100
The line is also not present at another location in the document. The document only has 70 lines in total.
Posted: Wed 8. Sep 2004, 12:41
by bachi
you must have the version 1.1 RC4 27-08-04
In release 1.1 RC4 22-06-04 this line doesn't exists
Posted: Wed 8. Sep 2004, 12:42
by Pixelchaos
I downloaded the package again and the original conf.inc.php does have the line. How can it be that my conf.inc.php is shorter and is missing lines, while my cms is working fine?
Posted: Wed 8. Sep 2004, 12:46
by Pixelchaos
Ok, now I get it. Should i update the entire package, or just the conf.inc.php?
I'm guessing the entire package right?
Posted: Wed 8. Sep 2004, 15:20
by Pappnase
hello
yes iright you need the entire packet!