LibInsane  1.0.10
Cross-platform Cross-API Cross-driver Cross-image-scanner Image Scan Library
Data Fields
lis_scan_parameters Struct Reference

Describes what will be returned when scanning. More...

#include <capi.h>

Data Fields

enum lis_img_format format
 Image format. This value is guaranteed to be true when scanning. More...
 
int width
 Width of the image in pixels. This value is guaranteed to be true when scanning. More...
 
int height
 Height of the image in pixels. More...
 
size_t image_size
 Estimated image size in bytes. Can be used to pre-allocate memory. More...
 

Detailed Description

Describes what will be returned when scanning.

Definition at line 233 of file capi.h.

Field Documentation

◆ format

enum lis_img_format lis_scan_parameters::format

Image format. This value is guaranteed to be true when scanning.

Definition at line 148 of file capi.h.

◆ height

int lis_scan_parameters::height

Height of the image in pixels.

Warning
This value is not guaranteed to be true when scanning.

Definition at line 250 of file capi.h.

◆ image_size

size_t lis_scan_parameters::image_size

Estimated image size in bytes. Can be used to pre-allocate memory.

Warning
This value is not guaranteed to be true when scanning.

Definition at line 257 of file capi.h.

◆ width

int lis_scan_parameters::width

Width of the image in pixels. This value is guaranteed to be true when scanning.

Definition at line 244 of file capi.h.


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