suica/jxl/image does not have a README file
pub(all) struct AnimationHeader {
tps_numerator : Int
tps_denominator : Int
num_loops : UInt
have_timecodes : Bool
} derive(Debug)pub(all) struct EnumColourEncoding {
colour_space : ColourSpace
white_point : WhitePoint
primaries : Primaries
tf : TransferFunction
rendering_intent : RenderingIntent
} derive(Eq, Debug)pub(all) struct ExtraChannelInfo {
ty : ExtraChannelType
bit_depth : BitDepth
dim_shift : Int
name : String
} derive(Debug)pub(all) struct ImageMetadata {
all_default : Bool
extra_fields : Bool
orientation : Int
have_intr_size : Bool
intrinsic_size : SizeHeader?
have_preview : Bool
preview : PreviewHeader?
have_animation : Bool
animation : AnimationHeader?
bit_depth : BitDepth
modular_16bit_buffers : Bool
num_extra : Int
ec_info : Array[ExtraChannelInfo]
xyb_encoded : Bool
colour_encoding : ColourEncoding
tone_mapping : ToneMapping
extensions : Extensions
default_m : Bool
opsin_inverse_matrix : OpsinInverseMatrix
cw_mask : Int
up2_weight : FixedArray[Float]
up4_weight : FixedArray[Float]
up8_weight : FixedArray[Float]
} derive(Debug)fn ImageMetadata::apply_orientation(self : ImageMetadata, width : Int, height : Int, left : Int, top : Int, inverse : Bool) -> (Int, Int, Int, Int)pub(all) struct OpsinInverseMatrix {
all_default : Bool
inv_mat : FixedArray[FixedArray[Float]]
opsin_bias : FixedArray[Float]
quant_bias : FixedArray[Float]
quant_bias_numerator : Float
} derive(Debug)pub(all) struct PreviewHeader {
div8 : Bool
h_div8 : Int
height : Int
ratio : Int
w_div8 : Int
width : Int
} derive(Debug)pub(all) struct SizeHeader {
div8 : Bool
h_div8 : Int
height : Int
ratio : Int
w_div8 : Int
width : Int
} derive(Debug)pub(all) struct ToneMapping {
all_default : Bool
intensity_target : Float
min_nits : Float
relative_to_max_display : Bool
linear_below : Float
} derive(Debug)