Skip to main content

Crate pic_scale_safe

Crate pic_scale_safe 

Source

Structs§

ImageSize
Struct that represents image size

Enums§

ResamplingFunction
Describes resampling function that will be used
TransferFunction
Declares transfer function for transfer components into a linear colorspace and its inverse

Functions§

bt1361_from_linear
Gamma transfer function for Bt.1361
bt1361_to_linear
Linear transfer function for Bt.1361
gamma2p2_from_linear
Pure gamma transfer function for gamma 2.2
gamma2p2_to_linear
Linear transfer function for gamma 2.2
gamma2p8_from_linear
Pure gamma transfer function for gamma 2.8
gamma2p8_to_linear
Linear transfer function for gamma 2.8
has_non_constant_alpha_la8
Performs scan on the Luma+Alpha 8 bit image if it has variable alpha channel
has_non_constant_alpha_la16
Performs scan on the Luma+Alpha 16 bit image if it has variable alpha channel
has_non_constant_alpha_luma_alpha_f32
Performs scan on the Luma-alpha f32 bit image if it has variable alpha channel
has_non_constant_alpha_rgba8
Performs scan on the RGBA 8 bit image if it has variable alpha channel
has_non_constant_alpha_rgba16
Performs scan on the RGBA 16 bit image if it has variable alpha channel
has_non_constant_alpha_rgba_f32
Performs scan on the RGBA f32 bit image if it has variable alpha channel
iec61966_to_linear
Linear transfer function for Iec61966
iec619662_from_linear
Pure gamma transfer function for Iec61966
image16_to_linear16
Converts 8-16-bit image to linear
image_f32_to_linear_f32
Converts f32 image to linear
image_to_linear
Converts 8-bit image to linear
linear16_to_gamma_image16
Converts 8-16-bit linear image to gamma
linear_f32_to_gamma_image_f32
Converts f32 linear image to gamma
linear_to_gamma_image
Converts 8-bit linear image to gamma
log100_from_linear
Gamma transfer function for Log100
log100_sqrt10_from_linear
Gamma transfer function for Log100Sqrt10
log100_sqrt10_to_linear
Linear transfer function for Log100Sqrt10
log100_to_linear
Linear transfer function for Log100
premultiplied_la8
Associate alpha to a new destination
premultiplied_la16
Associate alpha for up to 16 bit-depth image to a new destination
premultiplied_luma_alpha_f32
Associate alpha to a new destination
premultiplied_rgba8
Associate alpha to new slice
premultiplied_rgba16
Associate alpha to a new destination
premultiplied_rgba_f32
Associate alpha to a new destination
premultiply_la8
Associate alpha in place
premultiply_la16
Associate alpha in place for up to 16 bit-depth image
premultiply_luma_alpha_f32
Associate alpha in place
premultiply_rgba8
Associate alpha in place
premultiply_rgba16
Associate alpha in place
premultiply_rgba_f32
Associate alpha in place
pure_gamma_function
Pure gamma transfer function for gamma 2.2
rec709_from_linear
Gamma transfer function for Rec.709
rec709_to_linear
Linear transfer function for Rec.709
resize_luma_alpha_f32
Performs resizing on Luma-alpha f32 image
resize_plane8
Performs resizing on planar 8 bit-depth image
resize_plane8_with_alpha
Performs resizing on planar image with alpha 8 bit-depth image
resize_plane16
Performs resizing on planar 8-16 bit-depth image
resize_plane16_with_alpha
Performs resizing on planar 8-16 bit-depth image with alpha
resize_plane_f32
Performs resizing on RGB f32 image
resize_rgb8
Performs resizing on RGB 8 bit-depth image
resize_rgb16
Performs resizing on RGB 8-16 bit-depth image
resize_rgb_f32
Performs resizing on RGB f32 image
resize_rgba8
Performs resizing on RGBA 8 bit-depth image
resize_rgba16
Performs resizing on RGBA 8-16 bit-depth image
resize_rgba_f32
Performs resizing on RGBA f32 image
smpte240_from_linear
Gamma transfer function for Smpte 240
smpte240_to_linear
Linear transfer function for Smpte 240
smpte428_from_linear
Gamma transfer function for Smpte 428
smpte428_to_linear
Linear transfer function for Smpte 428
srgb_from_linear
Gamma transfer function for sRGB
srgb_to_linear
Linear transfer function for sRGB
trc_linear
Gamma transfer function for HLG
unpremultiply_la8
Un premultiply alpha in place
unpremultiply_la16
Un premultiply alpha in place for up to 16 bit-depth image
unpremultiply_luma_alpha_f32
Un-premultiply alpha in place
unpremultiply_rgba8
Un premultiply alpha in place
unpremultiply_rgba16
Un premultiply alpha in place
unpremultiply_rgba_f32
Un-premultiply alpha in place