Login   Register  
PHP Classes

Ico: Extract graphics from .ico files into PNG images

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Diogo Resende
Name: Diogo Resende <contact>
Classes: 10 packages by
Country: Portugal Portugal
Age: 31
All time rank: 252 in Portugal Portugal
Week rank: 189 Down3 in Portugal Portugal Down
Innovation award
Innovation award
Nominee: 4x

Winner: 2x

  Detailed description   Download Download .zip .tar.gz  
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.

  Classes of Diogo Resende  >  Ico  >  Download Download .zip .tar.gz  >  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
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 1640 users
All time rank: 2187
Week users: 0 users
Week rank: 1412 Equal
  Groups   Screenshots Screenshots   Rate classes User ratings  
  Trackback   Applications   Files Files  

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

  Files folder image Screenshots  
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  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (87%) Good (91%) Sufficient (70%) Good (95%) - - Sufficient (69%) 219
Month: Not yet rated by the users

  Pages that reference this package  
Problem with ICO to PNG PHP library
I am writing a WordPress plugin to download favicons and also convert them to PNG...

Latest pages that reference packages Latest pages that reference packages

  Applications that use this package  
No pages of applications that use this class were specified.
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 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.