Login   Register  
PHP Classes
elePHPant
Icontem

Image to PHP: Convert a directory of images into a PHP class

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-04-05 (10 years ago) RSS 2.0 feedStarStarStarStar 63%Total: 3,704 All time: 819 This week: 1,463Down
Version License Categories  
img2php 1.0Free For Educational UseGraphics, Code Generation
Description Author  
This class is meant to read all images in a specified directory and then generates a PHP class with functions that serve the headers and the data of such image files.

It is very useful when you want to distribute a small PHP package with images embedded in the PHP code instead of using separate files.
Picture of Ben Yacoub Hatem
Name: Ben Yacoub Hatem <contact>
Classes: 18 packages by
Country: Tunisia Tunisia
Age: 36
All time rank: 211 in Tunisia Tunisia
Week rank: 206 Down1 in Tunisia Tunisia Equal
Innovation award
Innovation award
Nominee: 4x

  Files folder image Files  
File Role Description
Accessible without login Plain text file gonximages.class.php Output Sample of a generated class
Accessible without login Plain text file image.php Aux. Utility php script that used to display images from the generated class
Plain text file img2php.class.php Class The main class generator
Accessible without login HTML file Readme.html Doc. Readme file
Accessible without login Plain text file sample.php Example Sample usage of the class

 Version Control Unique User Downloads Download Rankings  
 0%Total:3,704All time:819
 This week:0This week:1,463Down
 User Ratings  
 
 All time
Utility:80%StarStarStarStarStar
Consistency:77%StarStarStarStar
Documentation:75%StarStarStarStar
Examples:82%StarStarStarStarStar
Tests:-
Videos:-
Overall:63%StarStarStarStar
Rank:593