imgIDecoder
| IID: | 9eebf43a-1dd1-11b2-953e-f1782f4cbad3 |
| Inherits From: | nsISupports |
ImgIDecoder interface
This interface is implemented by the following components:
- @mozilla.org/image/decoder;2?type=image/bmp
- @mozilla.org/image/decoder;2?type=image/gif
- @mozilla.org/image/decoder;2?type=image/jpeg
- @mozilla.org/image/decoder;2?type=image/jpg
- @mozilla.org/image/decoder;2?type=image/pjpeg
- @mozilla.org/image/decoder;2?type=image/png
- @mozilla.org/image/decoder;2?type=image/x-icon
- @mozilla.org/image/decoder;2?type=image/x-jng
- @mozilla.org/image/decoder;2?type=image/x-png
- @mozilla.org/image/decoder;2?type=image/x-xbitmap
- @mozilla.org/image/decoder;2?type=image/x-xbm
- @mozilla.org/image/decoder;2?type=image/xbm
- @mozilla.org/image/decoder;2?type=video/x-mng
- @mozilla.org/image/decoder;2?type=image/vnd.microsoft.icon
Methods
void close ( )
void flush ( )
void init ( imgILoad load )
PRUint32 writeFrom ( nsIInputStream inStr , PRUint32 count )
PRUint32 writeFrom ( nsIInputStream inStr , PRUint32 count )
Writes data into the stream from an input stream. Implementer's note: This method is defined by this interface in order to allow the output stream to efficiently copy the data from the input stream into its internal buffer (if any). If this method was provide as an external facility, a separate char* buffer would need to be used in order to call the output stream's other Write method.
- Arguments:
- inStr
- count: the maximun number of bytes to write
- Returns:
- aWriteCount out parameter to hold the number of bytes written. if an error occurs, the writecount is undefined
Reference documentation is generated from Mozilla's source.
