Author Topic: GD image resize loosing image quality  (Read 3742 times)

0 Members and 1 Guest are viewing this topic.

Offline Justin

  • Pre-Newbie
  • Posts: 2
    • View Profile
GD image resize loosing image quality
« 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  :-)

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
GD image resize loosing image quality
« Reply #1 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);
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Ernesto Taseffa

  • Full Member
  • ***
  • Posts: 151
    • View Profile
GD image resize loosing image quality
« Reply #2 on: February 26, 2003, 01:53:23 PM »
.
« Last Edit: August 09, 2009, 01:50:50 AM by Ernesto Taseffa »