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
StarStar 35%Total: 679 All time: 4,774 This week: 524Up
Version License PHP version Categories
phpmosaic 1.0GNU Free Document...4Graphics
Description 

Author

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: 1115161 in United States United States
Week rank: 321 Up31 in United States United States Up
Innovation award
Innovation award
Nominee: 1x

Example

<?php

/**
 * @copyright 2009
 */


/* EXAMPLE */

include_once("Mosaic.php");

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


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

?>


Screenshots  
  • 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  
 0%
Total:679
This week:0
All time:4,774
This week:524Up
 User Ratings  
 
 All time
Utility:50%StarStarStar
Consistency:58%StarStarStar
Documentation:-
Examples:41%StarStarStar
Tests:-
Videos:-
Overall:35%StarStar
Rank:4099