floIcon
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 from 1 x 1 to 255 x 255 pixels and bitmap depths of 1, 4, 8, 24, 32 including transparency.