Class MatrixToBufferedImage.InterleavedBGRToInterleaved

Enclosing class:
MatrixToBufferedImage

public static class MatrixToBufferedImage.InterleavedBGRToInterleaved extends MatrixToBufferedImage.InterleavedRGBToInterleaved
  • 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 class MatrixToBufferedImage.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

      public String toString()
      Overrides:
      toString in class MatrixToBufferedImage.InterleavedRGBToInterleaved