Class FileFormat.StaticImageFileFormat
java.lang.Object
org.eclipse.swt.internal.image.FileFormat
org.eclipse.swt.internal.image.FileFormat.StaticImageFileFormat
- Direct Known Subclasses:
GIFFileFormat, JPEGFileFormat, OS2BMPFileFormat, PNGFileFormat, TIFFFileFormat, WinBMPFileFormat, WinICOFileFormat
- Enclosing class:
FileFormat
-
Nested Class Summary
Nested classes/interfaces inherited from class FileFormat
FileFormat.StaticImageFileFormat -
Field Summary
Fields inherited from class FileFormat
compression, DEFAULT_ZOOM, inputStream, loader, outputStream -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) abstract ImageData[](package private) List<DPIUtil.ElementAtZoom<ImageData>> loadFromByteStream(int fileZoom, int targetZoom) Format that do not implementFileFormat.StaticImageFileFormatMUST returnImageDatawith the specifiedtargetZoom.(package private) ImageDataloadFromByteStreamBySize(int width, int height) Methods inherited from class FileFormat
canLoadAtZoom, isDynamicallySizableFormat, isFileFormat, load, load, loadFromStream, loadFromStreamBySize, save, unloadIntoByteStream, unloadIntoStream
-
Constructor Details
-
StaticImageFileFormat
StaticImageFileFormat()
-
-
Method Details
-
loadFromByteStream
-
loadFromByteStream
Description copied from class:FileFormatFormat that do not implementFileFormat.StaticImageFileFormatMUST returnImageDatawith the specifiedtargetZoom.- Specified by:
loadFromByteStreamin classFileFormat
-
loadFromByteStreamBySize
- Specified by:
loadFromByteStreamBySizein classFileFormat
-