LibInsane: lis_scan_parameters Struct Reference

| LibInsane 1.0.10 Cross-platform Cross-API Cross-driver Cross-image-scanner Image Scan Library

Loading...
Searching...
No Matches
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.
int | width
| Width of the image in pixels. This value is guaranteed to be true when scanning.
int | height
| Height of the image in pixels.
size_t | image_size
| Estimated image size in bytes. Can be used to pre-allocate memory.

## 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 238 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:

- /build/libinsane/src/libinsane/subprojects/libinsane/include/libinsane/capi.h