Login   Register  
PHP Classes
elePHPant
Icontem

Class: Ico

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Diogo Resende  >  Ico  >  Download .tar.gz .zip  >  Support forum Support forum (4)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Ico
Base name: ico
Description: Extract graphics from .ico files into PNG images
Related classes: , , , , , , ,
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 1469 users
All time rank: 2210
Week users: 3 users
Week rank: 1290
Picture of Diogo Resende
Author: Diogo Resende <e-mail contact>
Packages: 10 Browse this author's classes Browse this author's classes
Country: Portugal Portugal - PHP jobs in Portugal
Age: 29
All time rank: 262 in Portugal Portugal
Week rank: 81 Down2 in Portugal Portugal
Innovation award
Innovation award
Nominee: 4x

Winner: 2x


  Detailed description  
This class can extract graphics from .ico files and build a PNG images from them.

It can parse the .ico file header and retrieve the information about how many icons there are in the file, their size, color depth and palette

It can extract each icon image into a new image that can be saved in the PNG format. The extracted image can use a configurable background color.

 

  Groups  
Group folder image Graphics Colors, images, charts and picture formats View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes

  Screenshots Screenshots   Rate classes User ratings   Trackback   Applications   Files Files  
  Files folder image Screenshots  
Example 2 output
File Role Description
Accessible without login Image file test2.png Screen Example 2 output


  Innovation Award  
PHP Programming Innovation award nominee
June 2005
Number 3
Ico is the name of the format of the files used on Windows operating systems to store the icons used by many types of Windows applications.

This kind of file is also used to represent icon images of Web sites, for instance in bookmark lists. Therefore it is supported by many types of browsers, including those that run on non-Windows operating systems.

An icon file may contain several alternative versions of the same icon image in different sizes and color depths.

This class provides means to extract the different versions of the icon images inside an Ico file. Graphic applications may use each of the images depending on the size and color requirements of such applications.

Manuel Lemos

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (87.5%)
Good (91.7%)
Sufficient (70.8%)
Good (95.8%)
-
-
Sufficient (69.6%)
201
Month:
Not yet rated by the users

  Trackback links  
Link Description
Problem with ICO to PNG PHP library I am writing a WordPress plugin to download favicons and also convert them to PNG...

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file class.ico.php Class Main class
Plain text file class.icothumb.php Class Auxiliary Class for test2.php
Plain text file README.txt Doc. Readme
Plain text file test.php Example Example 1
Plain text file test2.php Example Example 2

Download all files: ico.tar.gz ico.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.