Entropic 2.3.8
Local-first agentic inference engine
Loading...
Searching...
No Matches
entropic::ImagePreprocessConfig Struct Reference

Image preprocessing configuration. More...

#include <entropic/inference/image_preprocessor.h>

Public Attributes

int max_width = 1280
 Maximum image width (resized if exceeded)
 
int max_height = 1280
 Maximum image height (resized if exceeded)
 
size_t max_file_size = 20 * 1024 * 1024
 Maximum file size in bytes (20MB)
 
bool preserve_aspect = true
 Preserve aspect ratio when resizing.
 

Detailed Description

Image preprocessing configuration.

Version
1.9.11

Definition at line 32 of file image_preprocessor.h.

Member Data Documentation

◆ max_file_size

size_t entropic::ImagePreprocessConfig::max_file_size = 20 * 1024 * 1024

Maximum file size in bytes (20MB)

Definition at line 35 of file image_preprocessor.h.

◆ max_height

int entropic::ImagePreprocessConfig::max_height = 1280

Maximum image height (resized if exceeded)

Definition at line 34 of file image_preprocessor.h.

◆ max_width

int entropic::ImagePreprocessConfig::max_width = 1280

Maximum image width (resized if exceeded)

Definition at line 33 of file image_preprocessor.h.

◆ preserve_aspect

bool entropic::ImagePreprocessConfig::preserve_aspect = true

Preserve aspect ratio when resizing.

Definition at line 36 of file image_preprocessor.h.


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