sbIImageParser Interface Reference

import"sbIImageParser.idl";

Inheritance diagram for sbIImageParser:
[legend]
Collaboration diagram for sbIImageParser:
[legend]

Public Member Functions

AString getICOBySize (in nsILocalFile aICOFile, in PRUint32 aSize)
 

Detailed Description

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

"@songbirdnest.com/Songbird/ImageParser;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.

Parameters
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: