sbIImageParser Interface Reference


Inheritance diagram for sbIImageParser:
Collaboration diagram for sbIImageParser:

Public Member Functions

AString getICOBySize (in nsILocalFile aICOFile, in PRUint32 aSize)

Detailed Description

Provides a set of utility routines for parsing various image formats.

";1" Use getService with this component.

Definition at line 39 of file sbIImageParser.idl.

Member Function Documentation

AString sbIImageParser::getICOBySize ( in nsILocalFile  aICOFile,
in PRUint32  aSize 

Given an nsILocalFile pointing to the .ico file, and a given size, return the base64 encoded data representing the actual icon file itself.

aICOFileThe .ICO file to parse
aSizeThe resolution of the frame to return (16, 32, 64, etc.)

The documentation for this interface was generated from the following file: