imsz
ImInfo Struct Reference

The width, height and format of an image. More...

#include <imsz.h>

Public Attributes

uint64_t width
 Width of the image.
 
uint64_t height
 Height of the image.
 
unsigned int format
 Values from ImFormat. More...
 

Detailed Description

The width, height and format of an image.

Member Data Documentation

◆ format

unsigned int ImInfo::format

Values from ImFormat.

It doesn't use enum ImFormat but unsigned int in order to be certain about the ABI since the library is actually implemented in Rust.

This field is also set in the case of an IMSZ_ERR_PARSER, not just on IMSZ_OK. Then it specifies which file format was detected, but failed to parse.


The documentation for this struct was generated from the following file: