Package net.algart.external.awt
Class MatrixToBufferedImage.InterleavedBGRToInterleaved
java.lang.Object
net.algart.external.awt.MatrixToBufferedImage
net.algart.external.awt.MatrixToBufferedImage.InterleavedRGBToInterleaved
net.algart.external.awt.MatrixToBufferedImage.InterleavedBGRToInterleaved
- Enclosing class:
MatrixToBufferedImage
public static class MatrixToBufferedImage.InterleavedBGRToInterleaved
extends MatrixToBufferedImage.InterleavedRGBToInterleaved
-
Nested Class Summary
Nested classes/interfaces inherited from class net.algart.external.awt.MatrixToBufferedImage
MatrixToBufferedImage.InterleavedBGRToInterleaved, MatrixToBufferedImage.InterleavedRGBToInterleaved, MatrixToBufferedImage.InterleavedToBandedRGB, MatrixToBufferedImage.MonochromeToIndexed
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int[]
rgbAlphaMasks
(int bandCount) Returns the band masks, which will be passed to Raster.createPackedRaster method, if you want to convert data into a packed BufferedImage.toString()
Methods inherited from class net.algart.external.awt.MatrixToBufferedImage.InterleavedRGBToInterleaved
colorValue, isAlwaysAddAlpha, setAlwaysAddAlpha, toDataBuffer
Methods inherited from class net.algart.external.awt.MatrixToBufferedImage
bytesRequired, getBandCount, getDataArray, getHeight, getWidth, isUnsignedInt32, palette, setUnsignedInt32, toBufferedImage, toBufferedImage, toDataBuffer, toDataBufferBand0Filter
-
Constructor Details
-
InterleavedBGRToInterleaved
public InterleavedBGRToInterleaved()
-
-
Method Details
-
rgbAlphaMasks
protected int[] rgbAlphaMasks(int bandCount) Description copied from class:MatrixToBufferedImage
Returns the band masks, which will be passed to Raster.createPackedRaster method, if you want to convert data into a packed BufferedImage. The resulting array may be null, that means an unpacked form of the raster (Raster.createBandedRaster), or an array containing bandCount elements: red, green, blue and (if necessary) alpha masks.- Overrides:
rgbAlphaMasks
in classMatrixToBufferedImage.InterleavedRGBToInterleaved
- Parameters:
bandCount
- the number of masks (3 or 4, in other cases null is returned).- Returns:
- the bit masks for storing bands in the packed int values.
-
toString
- Overrides:
toString
in classMatrixToBufferedImage.InterleavedRGBToInterleaved
-