Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Soecial thumbnail creation with GD
November 29, 2004, 2:17 pm
rate this thread
I was using imagemagick to create thumbnails for my gallery. Now, it
seems my provider has disabled access to imagemagick for security
reasons on SI. So, I have to use GD now. The process I used to create
1. resample a JPEG file to 100x100 (mantaining aspect ratio)
2. crop a square of 30x30 from the center of this resampled image
3. save the cropped image to a PNG file
Can I do this with GD ? Any help would be appreaciated.
Thanks in advance
Re: Soecial thumbnail creation with GD
If you have a look at the php site then there are loads of good examples
in the contributions at the bottom of the page. Do a search on:
I've got a piece of code that does at least the 1st part of what you
want if you need something to get started. Having only just got into
this, I found it hard going!
- » Need a script to tell me where a hyperlink originated
- — Previous thread in » PHP Scripting Forum