PHP Classes

GD Source: Create multiple GD image resources from images

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 373 All time: 6,767 This week: 59Up
Version License PHP version Categories
gdsource 1.0Freely Distributable3.0Graphics


This class can be used to create multiple GD image resources from images.

It takes as parameter an array of strings that can be either local or remote file names of JPG, GIF and PNG images, or the image files binary data as strings.

The class loads the images and creates an array of GD image resource handles that are stored in a class variable.

Picture of László Zsidi
Name: László Zsidi <contact>
Classes: 13 packages by
Country: Hungary Hungary
Age: 50
All time rank: 331 in Hungary Hungary
Week rank: 364 Down4 in Hungary Hungary Down
Innovation award
Innovation award
Nominee: 10x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file GDSource.class.php Class Main Class
Accessible without login Plain text file index.php Example Example script
Accessible without login Image file source.gif Data Example image
Accessible without login Image file source.jpg Data Example image
Accessible without login Image file source.png Data Example image

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,767
This week:59Up
User Comments (1)
Nice clean code, fairly useful technique.
15 years ago (F Philip DeGeorge)