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 Classes Modifier and Type Class Description static class
L_Compressed_Data.ByReference
static class
L_Compressed_Data.ByValue
-
Field Summary
Fields Modifier and Type Field Description int
bps
bits/sample; typ.com.sun.jna.Pointer
cmapdata85
ascii85-encoded uncompressed cmap
C type : char*com.sun.jna.Pointer
cmapdatahex
hex pdf array for the cmap
C type : char*com.sun.jna.Pointer
data85
ascii85-encoded gzipped raster data
C type : char*com.sun.jna.Pointer
datacomp
gzipped raster data
C type : l_uint8*int
h
image height
C type : l_int32int
minisblack
tiff g4 photometry
C type : l_int32NativeSize
nbytes
number of uncompressed raster bytesNativeSize
nbytes85
number of ascii85 encoded bytesNativeSize
nbytescomp
number of compressed bytesint
ncolors
number of colors in cmap
C type : l_int32int
predictor
flate data has PNG predictors
C type : l_int32int
res
resolution (ppi)
C type : l_int32int
spp
samples/pixel; typ.int
type
encoding type: L_JPEG_ENCODE, etc
C type : l_int32int
w
image width
C type : l_int32 -
Constructor Summary
Constructors Constructor Description L_Compressed_Data()
L_Compressed_Data(com.sun.jna.Pointer peer)
-
Method Summary
Modifier and Type Method Description protected java.util.List<java.lang.String>
getFieldOrder()
Gets 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
protected java.util.List<java.lang.String> getFieldOrder()Gets this Structure's field names in their proper order.- Overrides:
getFieldOrder
in classcom.sun.jna.Structure
- Returns:
- list of ordered field names
-