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,573 This week: 1All time: 1,484 This week: 560Up
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: 42
All time rank: 122180 in Brazil Brazil
Week rank: 411 Up35 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  
 0%
Total:2,573
This week:1
All time:1,484
This week:560Up
User Ratings User Comments (2)
 All time
Utility:50%StarStarStar
Consistency:53%StarStarStar
Documentation:-
Examples:46%StarStarStar
Tests:-
Videos:-
Overall:35%StarStar
Rank:4073
 
Useless example.
4 years ago (Abdul Basit)
0%Star
nice
11 years ago (syed nurul islam)
70%StarStarStarStar