PHP Classes

Merge Pictures: Generate an image from the combination of 2 images

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2008-02-01 (12 years ago) RSS 2.0 feedStarStar 35%Total: 2,532 All time: 1,499 This week: 357Up
Version License PHP version Categories
mergepictures 1.2The PHP License5.0PHP 5, Graphics
Description Author

This class can be used to generate an image from the combination of two pictures.

It creates a new image pasting two given images in GIF, JPEG or PNG formats.

The new image has the width of the first image. The second image will be rescaled to appear with the same width as the first. The new image height is the sum of the first image height with the height of second image after rescaled.

The resulting image may show the first image at the top or below the second image. Alternatively, it may show the first image on the top of the second.

The final image may be stored to a file in the JPEG, GIF or PNG formats.

Name: Germano <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: 38
All time rank: 122481 in Brazil Brazil
Week rank: 915 Up77 in Brazil Brazil Up


  Files folder image Files  
File Role Description
Plain text file mergePicture.php Class Main class
Plain text file foto.php Class class of image attributes
Accessible without login Plain text file imageTest.php Example example of mergePicture class use

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,499
This week:357Up
User Ratings User Comments (2)
 All time
Useless example.
22 days ago (Abdul Basit)
7 years ago (syed nurul islam)