Package org.bytedeco.leptonica
Class PIXC
java.lang.Object
org.bytedeco.javacpp.Pointer
org.bytedeco.leptonica.PIXC
- All Implemented Interfaces:
AutoCloseable
Compressed Pix
-
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
-
Method Summary
Modifier and TypeMethodDescriptionint
cmapflag()
flag (1 for cmap, 0 otherwise)cmapflag
(int setter) int
comptype()
IFF_PNG, IFF_JFIF_JPEG)comptype
(int setter) int
d()
depth in bitsd
(int setter) data()
the compressed image datadata
(BytePointer setter) getPointer
(long i) int
h()
height in pixelsh
(int setter) position
(long position) long
size()
size of the data arraysize
(long setter) text()
text string associated with pixtext
(BytePointer setter) int
w()
width in pixelsw
(int setter) int
xres()
(use 0 if unknown)xres
(int setter) int
yres()
(use 0 if unknown)yres
(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
-
PIXC
public PIXC()Default native constructor. -
PIXC
public PIXC(long size) Native array allocator. Access withPointer.position(long)
. -
PIXC
Pointer cast constructor. InvokesPointer(Pointer)
.
-
-
Method Details
-
position
-
getPointer
- Overrides:
getPointer
in classPointer
-
w
width in pixels -
w
-
h
height in pixels -
h
-
d
depth in bits -
d
-
xres
(use 0 if unknown) -
xres
-
yres
(use 0 if unknown) -
yres
-
comptype
IFF_PNG, IFF_JFIF_JPEG) -
comptype
-
text
text string associated with pix -
text
-
cmapflag
flag (1 for cmap, 0 otherwise) -
cmapflag
-
data
the compressed image data -
data
-
size
size of the data array -
size
-