Images

These interfaces are for loading and uncompressing various image formats. You can use the imgILoader interface to load images.

Jump to:


Interfaces

The following image related interfaces are available.

gfxIFormats
gfxIImageFrame
imgICache
imgIContainer
imgIContainerObserver
imgIDecoder
imgIDecoderObserver
imgIEncoder
imgILoad
imgILoader
imgIRequest
nsIMozIconURI

Image Components

The following image components are available, which implement the corresponding interface above that is similar in name. There are special containers for animated images.

@mozilla.org/gfx/image/frame;2
@mozilla.org/gfx/image;1
@mozilla.org/image/cache;1
@mozilla.org/image/container;1
@mozilla.org/image/container;1?type=image/gif
@mozilla.org/image/container;1?type=image/x-mng
@mozilla.org/image/loader;1
@mozilla.org/image/request;1
@mozilla.org/imgmanager;1

Image Decoders

These components are used to decode and uncompress images of various formats.

@mozilla.org/image/decoder;2?type=image/bmp
@mozilla.org/image/decoder;2?type=image/gif
@mozilla.org/image/decoder;2?type=image/inspector-bitmap
@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/vnd.microsoft.icon
@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-portable-bitmap
@mozilla.org/image/decoder;2?type=image/x-portable-graymap
@mozilla.org/image/decoder;2?type=image/x-portable-pixmap
@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

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com