Older GD Lib and jpeg photo thumbnail generation

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David Walker

    Older GD Lib and jpeg photo thumbnail generation

    Hi
    I'm using a server which only has GD version 1.6.2, with jpeg support
    enabled. I'm trying to use it to make thumbnails of jpeg photos as they are
    uploaded from a webform, but moving from my development server (which has GD
    2.x) to the real server I noticed the lower GD lib version, and that it
    doesn't support imagecreatetrue color. Without this, using imagecreate, the
    converted image always come out almost always a single colour, or with very
    little variation in the colour. Using some images I found in XP as a test,
    one has green plants with a few bright red flowers - if i just use
    imagecreate, the bright red flowers are green too. I'm using
    imagecopyresamp led to do the copy. Is there another way to do this without
    getting newer libraries installed on the server?
    Thanks

    David


Working...