Class libxl.JxlPixelFormat

java.lang.Object
gov.nih.mipav.model.file.libxl.JxlPixelFormat
Enclosing class:
libxl

class libxl.JxlPixelFormat extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) int
    Align scanlines to a multiple of align bytes, or 0 to require no alignment at all (which has the same effect as value 1)
    (package private) libxl.JxlDataType
    Data type of each channel.
    (package private) libxl.JxlEndianness
    Whether multi-byte data types are represented in big endian or little endian format.
    (package private) int
    Amount of channels available in a pixel buffer. 1: single-channel data, e.g. grayscale or a single extra channel 2: single-channel + alpha 3: trichromatic, e.g.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • num_channels

      int num_channels
      Amount of channels available in a pixel buffer. 1: single-channel data, e.g. grayscale or a single extra channel 2: single-channel + alpha 3: trichromatic, e.g. RGB 4: trichromatic + alpha TODO(lode): this needs finetuning. It is not yet defined how the user chooses output color space. CMYK+alpha needs 5 channels.
    • data_type

      Data type of each channel.
    • endianness

      Whether multi-byte data types are represented in big endian or little endian format. This applies to ::JXL_TYPE_UINT16 and ::JXL_TYPE_FLOAT.
    • align

      int align
      Align scanlines to a multiple of align bytes, or 0 to require no alignment at all (which has the same effect as value 1)
  • Constructor Details

    • JxlPixelFormat

      JxlPixelFormat()