PHP Classes

PHP Mosaic: Display of mosaic composed of multiple images

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 677 All time: 4,772 This week: 115Up
Version License PHP version Categories
phpmosaic 1.0GNU Free Document...4Graphics


This class can be used to display of mosaic composed of multiple images.

It can read a given directory to open all contained image files in JPEG format.

The class generates a single image with all read images tiled as a mosaic.

The resulting image is saved to a given file also in JPEG format.

Picture of johno dread
Name: johno dread is available for providing paid consulting. Contact johno dread .
Classes: 7 packages by
Country: United States United States
Age: ???
All time rank: 1117163 in United States United States
Week rank: 569 Up67 in United States United States Up
Innovation award
Innovation award
Nominee: 1x



 * @copyright 2009



//$outfile = "/mosaic.jpg";
$outfile = null;
$quality = 75;
$dir = "C:\wamp\www\Practice files";

$res = new buildMosaic($dir,$outfile,$quality);
header('Content-type: image/jpeg');


  • sample_output.jpeg
  Files folder image Files  
File Role Description
Plain text file Example.php Example Sample file for Mosaic.php
Plain text file Mosaic.php Class Build a mosaic from photos in a directory

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,772
This week:115Up