Package org.bytedeco.leptonica
Class PIX
java.lang.Object
org.bytedeco.javacpp.Pointer
org.bytedeco.leptonica.AbstractPIX
org.bytedeco.leptonica.PIX
- All Implemented Interfaces:
AutoCloseable
,Indexable
- Direct Known Subclasses:
AbstractPIX.DestroyDeallocator
Basic Pix
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bytedeco.leptonica.AbstractPIX
AbstractPIX.DestroyDeallocator
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
-
Field Summary
Fields inherited from class org.bytedeco.leptonica.AbstractPIX
pointer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncolormap()
colormap (may be null)int
d()
depth in bits (bpp)d
(int setter) data()
the image datadata
(IntPointer setter) getPointer
(long i) int
h()
height in pixelsh
(int setter) int
informat()
input file format, IFF_*informat
(int setter) position
(long position) int
refcount()
reference count (1 if no clones)refcount
(int setter) int
special()
special instructions for I/O, etcspecial
(int setter) int
spp()
number of samples per pixelspp
(int setter) text()
text string associated with pixtext
(BytePointer setter) int
w()
width in pixelsw
(int setter) int
wpl()
32-bit words/linewpl
(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.leptonica.AbstractPIX
clone, create, create, createBuffer, createBuffer, createHeader, createIndexer, createIndexer, createNoInit, createTemplate, createTemplateNoInit, destroy
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
-
PIX
public PIX()Default native constructor. -
PIX
public PIX(long size) Native array allocator. Access withPointer.position(long)
. -
PIX
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 (bpp) -
d
-
spp
number of samples per pixel -
spp
-
wpl
32-bit words/line -
wpl
-
refcount
reference count (1 if no clones) -
refcount
-
xres
(use 0 if unknown) -
xres
-
yres
(use 0 if unknown) -
yres
-
informat
input file format, IFF_* -
informat
-
special
special instructions for I/O, etc -
special
-
text
text string associated with pix -
text
-
colormap
colormap (may be null) -
colormap
-
data
the image data -
data
-