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    
Ratings Unique User Downloads Download Rankings
StarStar 35%Total: 2,572 All time: 1,482 This week: 188Up
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.

Picture of Germano
Name: Germano <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: 41
All time rank: 121980 in Brazil Brazil
Week rank: 553 Up40 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,482
This week:188Up
User Ratings User Comments (2)
 All time
Useless example.
2 years ago (Abdul Basit)
10 years ago (syed nurul islam)