static class IconExe.WinICOFileFormat extends IconExe.FileFormat
compression, inputStream, loader
Constructor and Description |
---|
WinICOFileFormat() |
Modifier and Type | Method and Description |
---|---|
(package private) static byte[] |
convertPad(byte[] data,
int width,
int height,
int depth,
int pad,
int newPad) |
(package private) int |
iconSize(IconExe.ImageData i)
Answer the size in bytes of the file representation of the given
icon
|
(package private) boolean |
isFileFormat(IconExe.LEDataInputStream stream)
Return whether or not the specified input stream
represents a supported file format.
|
(package private) boolean |
isValidIcon(IconExe.ImageData i) |
(package private) int |
loadFileHeader(IconExe.LEDataInputStream byteStream) |
(package private) int |
loadFileHeader(IconExe.LEDataInputStream byteStream,
boolean hasHeader) |
(package private) IconExe.ImageData[] |
loadFromByteStream() |
(package private) IconExe.ImageData |
loadIcon(int[] iconHeader)
Load one icon from the byte stream.
|
(package private) int[][] |
loadIconHeaders(int numIcons) |
(package private) byte[] |
loadInfoHeader(int[] iconHeader) |
bitInvertData, load, loadFromStream
static final byte[] convertPad(byte[] data, int width, int height, int depth, int pad, int newPad)
int iconSize(IconExe.ImageData i)
boolean isFileFormat(IconExe.LEDataInputStream stream)
IconExe.FileFormat
isFileFormat
in class IconExe.FileFormat
boolean isValidIcon(IconExe.ImageData i)
int loadFileHeader(IconExe.LEDataInputStream byteStream)
int loadFileHeader(IconExe.LEDataInputStream byteStream, boolean hasHeader)
IconExe.ImageData[] loadFromByteStream()
loadFromByteStream
in class IconExe.FileFormat
IconExe.ImageData loadIcon(int[] iconHeader)
int[][] loadIconHeaders(int numIcons)
byte[] loadInfoHeader(int[] iconHeader)