Class libxl.ExtraChanelInfo

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

class libxl.ExtraChanelInfo extends Object
Information for a single extra channel.
  • Field Details

    • type

      Given type of an extra channel.
    • bits_per_sample

      int bits_per_sample
      Total bits per sample for this channel.
    • exponent_bits_per_sample

      int exponent_bits_per_sample
      Floating point exponent bits per channel, or 0 if they are unsigned integer.
    • dim_shift

      int dim_shift
      The exponent the channel is downsampled by on each axis. TODO(lode): expand this comment to match the JPEG XL specification, specify how to upscale, how to round the size computation, and to which extra channels this field applies.
    • name_length

      int name_length
      Length of the extra channel name in bytes, or 0 if no name. Excludes null termination character.
    • alpha_premultiplied

      boolean alpha_premultiplied
      Whether alpha channel uses premultiplied alpha. Only applicable if type is JXL_CHANNEL_ALPHA.
    • spot_color

      float[] spot_color
      Spot color of the current spot channel in linear RGBA. Only applicable if type is JXL_CHANNEL_SPOT_COLOR.
    • cfa_channel

      int cfa_channel
      Only applicable if type is JXL_CHANNEL_CFA. TODO(lode): add comment about the meaning of this field.
  • Constructor Details

    • ExtraChanelInfo

      ExtraChanelInfo()