Class RGBByPlanePixArray


final class RGBByPlanePixArray extends RGBInterlacedPixArray
A representation of an array of RGB pixels, with all pixels for each colour component contiguous in the array. This organisation of colour planes is used by the Analyze format RGB images.
  • Method Details

    • write

      public long write(BufferedOutputStream s, ByteOrder byteOrder) throws IOException
      Writes this RGBByPlanePixArray object to a BufferedOutputStream. All pixels are written.
      Overrides:
      write in class BytePixArray
      Parameters:
      s - the BufferedOutputStream.
      byteOrder - is ignored.
      Returns:
      the number of bytes written.
      Throws:
      IOException - if the data cannot be written.