Package org.bytedeco.leptonica
Class L_COMP_DATA
java.lang.Object
org.bytedeco.javacpp.Pointer
org.bytedeco.leptonica.L_COMP_DATA
- All Implemented Interfaces:
AutoCloseable
@Name("L_Compressed_Data")
@Properties(inherit=leptonica.class)
public class L_COMP_DATA
extends Pointer
Compressed image data
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDefault native constructor.L_COMP_DATA
(long size) Native array allocator.Pointer cast constructor. -
Method Summary
Modifier and TypeMethodDescriptionint
bps()
bits/sample; typ.bps
(int setter) ascii85-encoded uncompressed cmapcmapdata85
(BytePointer setter) hex pdf array for the cmapcmapdatahex
(BytePointer setter) data85()
ascii85-encoded gzipped raster datadata85
(BytePointer setter) datacomp()
gzipped raster datadatacomp
(BytePointer setter) getPointer
(long i) int
h()
image heighth
(int setter) int
tiff g4 photometryminisblack
(int setter) long
nbytes()
number of uncompressed raster bytesnbytes
(long setter) long
nbytes85()
number of ascii85 encoded bytesnbytes85
(long setter) long
number of compressed bytesnbytescomp
(long setter) int
ncolors()
number of colors in cmapncolors
(int setter) position
(long position) int
flate data has PNG predictorspredictor
(int setter) int
res()
resolution (ppi)res
(int setter) int
spp()
samples/pixel; typ.spp
(int setter) int
type()
encoding type: L_JPEG_ENCODE, etctype
(int setter) int
w()
image widthw
(int setter) Methods inherited from class org.bytedeco.javacpp.Pointer
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
-
Constructor Details
-
L_COMP_DATA
public L_COMP_DATA()Default native constructor. -
L_COMP_DATA
public L_COMP_DATA(long size) Native array allocator. Access withPointer.position(long)
. -
L_COMP_DATA
Pointer cast constructor. InvokesPointer(Pointer)
.
-
-
Method Details
-
position
-
getPointer
- Overrides:
getPointer
in classPointer
-
type
encoding type: L_JPEG_ENCODE, etc -
type
-
datacomp
gzipped raster data -
datacomp
-
nbytescomp
number of compressed bytes -
nbytescomp
-
data85
ascii85-encoded gzipped raster data -
data85
-
nbytes85
number of ascii85 encoded bytes -
nbytes85
-
cmapdata85
ascii85-encoded uncompressed cmap -
cmapdata85
-
cmapdatahex
hex pdf array for the cmap -
cmapdatahex
-
ncolors
number of colors in cmap -
ncolors
-
w
image width -
w
-
h
image height -
h
-
bps
bits/sample; typ. 1, 2, 4 or 8 -
bps
-
spp
samples/pixel; typ. 1 or 3 -
spp
-
minisblack
tiff g4 photometry -
minisblack
-
predictor
flate data has PNG predictors -
predictor
-
nbytes
number of uncompressed raster bytes -
nbytes
-
res
resolution (ppi) -
res
-