stb_image_resize module

stbir_resize_uint8_srgb_edgemode

procedureforeignSource
stbir_resize_uint8_srgb_edgemode :: (
    input_pixels: *u8,
    input_w: s32,
    input_h: s32,
    input_stride_in_bytes: s32,
    output_pixels: *u8,
    output_w: s32,
    output_h: s32,
    output_stride_in_bytes: s32,
    num_channels: s32,
    alpha_channel: s32,
    flags: Resize_Flags,
    edge_wrap_mode: stbir_edge
) -> s32 #foreign

Parameters

input_pixels: *u8
input_w: s32
input_h: s32
input_stride_in_bytes: s32
output_pixels: *u8
output_w: s32
output_h: s32
output_stride_in_bytes: s32
num_channels: s32
alpha_channel: s32
edge_wrap_mode: stbir_edge

Returns

s32

See also