Ico_File module

get_bytes_for_image

procedureSource

How many bytes one square icon image takes in an ICO file: the pixels with their header, the transparency mask, and the total. comp is bytes per pixel (3 or 4).

get_bytes_for_image :: (
    comp: s32,
    size: s32
) -> (image_bytes: s32, mask_bytes: s32, total_bytes: s32)

Parameters

comp: s32
size: s32

Returns

image_bytes: s32
mask_bytes: s32
total_bytes: s32

See also