Package net.sourceforge.lept4j
Class L_Compressed_Data
java.lang.Object
com.sun.jna.Structure
net.sourceforge.lept4j.L_Compressed_Data
- Direct Known Subclasses:
L_Compressed_Data.ByReference,L_Compressed_Data.ByValue
public class L_Compressed_Data
extends com.sun.jna.Structure
Compressed image data
native declaration : imageio.h:79
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java or JNA.
native declaration : imageio.h:79
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java or JNA.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField -
Field Summary
FieldsModifier and TypeFieldDescriptionintbits/sample; typ.com.sun.jna.Pointerascii85-encoded uncompressed cmap
C type : char*com.sun.jna.Pointerhex pdf array for the cmap
C type : char*com.sun.jna.Pointerascii85-encoded gzipped raster data
C type : char*com.sun.jna.Pointergzipped raster data
C type : l_uint8*intimage height
C type : l_int32inttiff g4 photometry
C type : l_int32number of uncompressed raster bytesnumber of ascii85 encoded bytesnumber of compressed bytesintnumber of colors in cmap
C type : l_int32intflate data has PNG predictors
C type : l_int32intresolution (ppi)
C type : l_int32intsamples/pixel; typ.intencoding type: L_JPEG_ENCODE, etc
C type : l_int32intimage width
C type : l_int32Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets this Structure's field names in their proper order.Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
Field Details
-
type
public int typeencoding type: L_JPEG_ENCODE, etc
C type : l_int32 -
datacomp
public com.sun.jna.Pointer datacompgzipped raster data
C type : l_uint8* -
nbytescomp
number of compressed bytes -
data85
public com.sun.jna.Pointer data85ascii85-encoded gzipped raster data
C type : char* -
nbytes85
number of ascii85 encoded bytes -
cmapdata85
public com.sun.jna.Pointer cmapdata85ascii85-encoded uncompressed cmap
C type : char* -
cmapdatahex
public com.sun.jna.Pointer cmapdatahexhex pdf array for the cmap
C type : char* -
ncolors
public int ncolorsnumber of colors in cmap
C type : l_int32 -
w
public int wimage width
C type : l_int32 -
h
public int himage height
C type : l_int32 -
bps
public int bpsbits/sample; typ. 1, 2, 4 or 8
C type : l_int32 -
spp
public int sppsamples/pixel; typ. 1 or 3
C type : l_int32 -
minisblack
public int minisblacktiff g4 photometry
C type : l_int32 -
predictor
public int predictorflate data has PNG predictors
C type : l_int32 -
nbytes
number of uncompressed raster bytes -
res
public int resresolution (ppi)
C type : l_int32
-
-
Constructor Details
-
L_Compressed_Data
public L_Compressed_Data() -
L_Compressed_Data
public L_Compressed_Data(com.sun.jna.Pointer peer)
-
-
Method Details
-
getFieldOrder
Gets this Structure's field names in their proper order.- Overrides:
getFieldOrderin classcom.sun.jna.Structure- Returns:
- list of ordered field names
-