4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: Justin on February 11, 2003, 08:22:20 AM

Title: GD image resize loosing image quality
Post by: Justin on February 11, 2003, 08:22:20 AM
I am having a problem with the GD image resizing.  I have php with GD2 installed.  I use the image resizing functions in php in my own application without any quality loss.  However, in 4images, when I choose to resize and image or a thumbnail, there is a major loss of image quality.  The image does get resized, but it is extremely faded and blotchy.  I have the quality setting upto 100 for bot thumbnails and images.  I love this gallery tool you have and hope there is a fix for this without having to install another image manipulator.  Please advise  :-)
Title: GD image resize loosing image quality
Post by: V@no on February 11, 2003, 12:50:33 PM
Please read those two first:
http://www.4homepages.de/forum/viewtopic.php?t=3914
http://www.4homepages.de/forum/viewforum.php?f=14


and then here is the fix:
open /includes/constants.php find
Code: [Select]
define('CONVERT_IS_GD2', 0);
change it to
Code: [Select]

define('CONVERT_IS_GD2', 1);
Title: GD image resize loosing image quality
Post by: Ernesto Taseffa on February 26, 2003, 01:53:23 PM
.