- compress16BitDepthTo8BitDepth
SWT does not support 16-bit depth color formats. Convert the 16-bit data to
8-bit data. The correct
- filterRow
PNG supports four filtering types. These types are applied per row of image
data. This method unfilt
- fireInterlacedFrameEvent
Fire an event to let listeners know that an interlaced frame has been loaded.
finalFrame should be t
- getAlignedBytesPerRow
Answer the number of bytes in a word-aligned row of pixel data.
- getBytesPerPixel
Answer the number of bytes needed to represent a pixel. This value depends on
the image's color type
- getBytesPerRow
Answer the number of bytes in a row of the given pixel width. Each row is
byte-aligned, so images wi
- readInterlaceFrame
1. Read one of the seven frames of interlaced data. 2. Update the imageData. 3.
Notify the image loa
- readInterlacedImage
Read the pixel data for an interlaced image from the data stream.
- readNonInterlacedImage
Read the pixel data for a non-interlaced image from the data stream. Update the
imageData to reflect
- readPixelData
Read the image data from the data stream. This must handle decoding the data,
filtering, and interla
- readSignature
Skip over signature data. This has already been verified in isFileFormat().
- setImageDataValues
PNG supports some color types and bit depths that are unsupported by SWT. If the
image uses an unsup