Class PIX

All Implemented Interfaces:
AutoCloseable, Indexable
Direct Known Subclasses:
AbstractPIX.DestroyDeallocator

@Name("Pix") @Properties(inherit=leptonica.class) public class PIX extends AbstractPIX
Basic Pix
  • Constructor Details

  • Method Details

    • position

      public PIX position(long position)
      Overrides:
      position in class Pointer
    • getPointer

      public PIX getPointer(long i)
      Overrides:
      getPointer in class Pointer
    • w

      @Cast("l_uint32") public int w()
      width in pixels
    • w

      public PIX w(int setter)
    • h

      @Cast("l_uint32") public int h()
      height in pixels
    • h

      public PIX h(int setter)
    • d

      @Cast("l_uint32") public int d()
      depth in bits (bpp)
    • d

      public PIX d(int setter)
    • spp

      @Cast("l_uint32") public int spp()
      number of samples per pixel
    • spp

      public PIX spp(int setter)
    • wpl

      @Cast("l_uint32") public int wpl()
      32-bit words/line
    • wpl

      public PIX wpl(int setter)
    • refcount

      @Cast("l_atomic") public int refcount()
      reference count (1 if no clones)
    • refcount

      public PIX refcount(int setter)
    • xres

      @Cast("l_int32") public int xres()
      (use 0 if unknown)
    • xres

      public PIX xres(int setter)
    • yres

      @Cast("l_int32") public int yres()
      (use 0 if unknown)
    • yres

      public PIX yres(int setter)
    • informat

      @Cast("l_int32") public int informat()
      input file format, IFF_*
    • informat

      public PIX informat(int setter)
    • special

      @Cast("l_int32") public int special()
      special instructions for I/O, etc
    • special

      public PIX special(int setter)
    • text

      @Cast("char*") public BytePointer text()
      text string associated with pix
    • text

      public PIX text(BytePointer setter)
    • colormap

      public PIXCMAP colormap()
      colormap (may be null)
    • colormap

      public PIX colormap(PIXCMAP setter)
    • data

      @Cast("l_uint32*") public IntPointer data()
      the image data
    • data

      public PIX data(IntPointer setter)