PHP Classes

Pic2X: Convert images to the XPM format

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 259 All time: 7,825 This week: 524Up
Version License Categories
pic2x 1.0GNU General Publi...Graphics
Description 

Author

This class can be used to convert images to the XPM format.

The input image can be a file in the JPEG, PNG or GIF format, or a resource of an image dynamically created with the GD library.

It supports transparent images and if it is necessary to reduce the output image file size, the class convert true color images to use only a 256 color palette instead.

Picture of Diego Feitosa
Name: Diego Feitosa <contact>
Classes: 5 packages by
Country: Brazil Brazil
Age: 38
All time rank: 40232 in Brazil Brazil
Week rank: 192 Up14 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (9)  
File Role Description
Plain text file pic2x.inc Class Main Class
Accessible without login Plain text file example.php Example Instructions
Accessible without login Image file guitar.jpg Photo Sample
Accessible without login Plain text file guitar.php Example Sample
Accessible without login Plain text file guitar.xpm Output Sample
Accessible without login Image file php.gif Photo Original Image
Accessible without login Plain text file php.xpm Output Sample
Accessible without login Image file theAutor.jpg Photo Sample
Accessible without login Plain text file theAutor.xpm Output Sample

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:259
This week:0
All time:7,825
This week:524Up
User Comments (1)
Excellent
15 years ago (kishore kumar)
70%StarStarStarStar