libdmtx 0.7.8.7
libdmtx is a software library that enables programs to read and write Data Matrix barcodes of the modern ECC200 variety.
Loading...
Searching...
No Matches
DmtxImage_struct Struct Reference

#include <dmtx.h>

Public Attributes

int width
 图像的宽度,以像素为单位
 
int height
 图像的高度,以像素为单位
 
int pixelPacking
 图像格式类型,像素打包方式 DmtxPackOrder
 
int bitsPerPixel
 每个像素的位数
 
int bytesPerPixel
 每个像素的字节数
 
int rowPadBytes
 每行像素在内存中的填充或对齐字节数
 
int rowSizeBytes
 每一行(包括填充)在内存中的总字节数
 
int imageFlip
 图像是否需要翻转,通常用于处理上下颠倒的图像 DmtxFlip
 
int channelCount
 图像的通道数量,如RGB图像为3,CMYK图像为4
 
int channelStart [4]
 每个通道在像素数据中的起始位置(位偏移)
 
int bitsPerChannel [4]
 每个通道的位数,描述每个颜色分量的精度
 
unsigned char * pxl
 实际的像素数据缓冲区
 

Detailed Description

Definition at line 322 of file dmtx.h.

Member Data Documentation

◆ bitsPerChannel

int DmtxImage_struct::bitsPerChannel[4]

每个通道的位数,描述每个颜色分量的精度

Definition at line 334 of file dmtx.h.

◆ bitsPerPixel

int DmtxImage_struct::bitsPerPixel

每个像素的位数

Definition at line 327 of file dmtx.h.

◆ bytesPerPixel

int DmtxImage_struct::bytesPerPixel

每个像素的字节数

Definition at line 328 of file dmtx.h.

◆ channelCount

int DmtxImage_struct::channelCount

图像的通道数量,如RGB图像为3,CMYK图像为4

Definition at line 332 of file dmtx.h.

◆ channelStart

int DmtxImage_struct::channelStart[4]

每个通道在像素数据中的起始位置(位偏移)

Definition at line 333 of file dmtx.h.

◆ height

int DmtxImage_struct::height

图像的高度,以像素为单位

Definition at line 325 of file dmtx.h.

◆ imageFlip

int DmtxImage_struct::imageFlip

图像是否需要翻转,通常用于处理上下颠倒的图像 DmtxFlip

Definition at line 331 of file dmtx.h.

◆ pixelPacking

int DmtxImage_struct::pixelPacking

图像格式类型,像素打包方式 DmtxPackOrder

Definition at line 326 of file dmtx.h.

◆ pxl

unsigned char* DmtxImage_struct::pxl

实际的像素数据缓冲区

Definition at line 335 of file dmtx.h.

◆ rowPadBytes

int DmtxImage_struct::rowPadBytes

每行像素在内存中的填充或对齐字节数

Definition at line 329 of file dmtx.h.

◆ rowSizeBytes

int DmtxImage_struct::rowSizeBytes

每一行(包括填充)在内存中的总字节数

Definition at line 330 of file dmtx.h.

◆ width

int DmtxImage_struct::width

图像的宽度,以像素为单位

Definition at line 324 of file dmtx.h.


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