PHP Classes

floIcon: Read and write images from ICO files

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 58%Total: 1,038 All time: 3,552 This week: 524Up
Version License PHP version Categories
floicon 1.1.1GNU General Publi...4.0Graphics


This class can be used to read and write icon images to files in the ICO format.

It can parse ICO files and extract individual icon images into PHP GD image resources.

The class can also merge ICO files and add new images to an ICO file.

It supports ALL icon image sizes and standard bit depths including transparency!

UPDATED 2009-03-16: Now supports Vista ICO files with PNG!

Innovation Award
PHP Programming Innovation award nominee
May 2007
Number 4

Prize: One downloadable copy of PhpED Professional
ICO files are used to store data of icon images associated to Microsoft Windows applications.

ICO files can also be used to define icons of Web sites. Most browsers display Web site icons near location input that shows the current page URL.

This class can be used to read and write icon files, opening new possibilities for PHP applications that can take advantage of dynamic generation of Web site icons.

Manuel Lemos
Picture of Joshua hatfield
Name: Joshua hatfield <contact>
Classes: 10 packages by
Country: United States United States
Age: 45
All time rank: 20223 in United States United States
Week rank: 354 Down37 in United States United States Down
Innovation award
Innovation award
Nominee: 4x

Winner: 1x

  • floIcon.png
  Files folder image Files  
File Role Description
Plain text file sample.php Example Fully functional sample.
Plain text file floIcon.php Class floIcon class file, includes floIcon class and floIconImage supporting class
Plain text file display_picture.php Example Suplement to sample.php

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,552
This week:524Up
 User Ratings  
 All time