Esc

Image_Info

structextensionsince 0.36.1Source
  • macOS: Image_Info works on macOS
  • Linux: Image_Info works on Linux
  • Windows: Image_Info works on Windows
  • Wasm: Image_Info works on Wasm

Declaration

Image_Info :: struct {
    format: Image_File_Format;    width: s32;    height: s32;// samples per pixel as stored: 1 gray, 2 gray and alpha, 3 colour, 4 colour and alpha or CMYK    channels: s32;}

What read_image_info learns from a file's header.

See also