471,306 Members | 884 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,306 software developers and data experts.

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 imagecreatetruecolor. 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
imagecopyresampled to do the copy. Is there another way to do this without
getting newer libraries installed on the server?
Thanks

David
Jul 16 '05 #1
0 1964

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by fraser | last post: by
4 posts views Thread by Rednelle | last post: by
4 posts views Thread by thomas kern | last post: by
3 posts views Thread by bob garbados | last post: by
10 posts views Thread by rtilley | last post: by
13 posts views Thread by Viken Karaguesian | last post: by
6 posts views Thread by simonhuntley | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.