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
  • 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 with Pointer.position(long).
    • L_COMP_DATA

      public L_COMP_DATA(Pointer p)
      Pointer cast constructor. Invokes Pointer(Pointer).
  • Method Details

    • position

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

      public L_COMP_DATA getPointer(long i)
      Overrides:
      getPointer in class Pointer
    • type

      @Cast("l_int32") public int type()
      encoding type: L_JPEG_ENCODE, etc
    • type

      public L_COMP_DATA type(int setter)
    • datacomp

      @Cast("l_uint8*") public BytePointer datacomp()
      gzipped raster data
    • datacomp

      public L_COMP_DATA datacomp(BytePointer setter)
    • nbytescomp

      @Cast("size_t") public long nbytescomp()
      number of compressed bytes
    • nbytescomp

      public L_COMP_DATA nbytescomp(long setter)
    • data85

      @Cast("char*") public BytePointer data85()
      ascii85-encoded gzipped raster data
    • data85

      public L_COMP_DATA data85(BytePointer setter)
    • nbytes85

      @Cast("size_t") public long nbytes85()
      number of ascii85 encoded bytes
    • nbytes85

      public L_COMP_DATA nbytes85(long setter)
    • cmapdata85

      @Cast("char*") public BytePointer cmapdata85()
      ascii85-encoded uncompressed cmap
    • cmapdata85

      public L_COMP_DATA cmapdata85(BytePointer setter)
    • cmapdatahex

      @Cast("char*") public BytePointer cmapdatahex()
      hex pdf array for the cmap
    • cmapdatahex

      public L_COMP_DATA cmapdatahex(BytePointer setter)
    • ncolors

      @Cast("l_int32") public int ncolors()
      number of colors in cmap
    • ncolors

      public L_COMP_DATA ncolors(int setter)
    • w

      @Cast("l_int32") public int w()
      image width
    • w

      public L_COMP_DATA w(int setter)
    • h

      @Cast("l_int32") public int h()
      image height
    • h

      public L_COMP_DATA h(int setter)
    • bps

      @Cast("l_int32") public int bps()
      bits/sample; typ. 1, 2, 4 or 8
    • bps

      public L_COMP_DATA bps(int setter)
    • spp

      @Cast("l_int32") public int spp()
      samples/pixel; typ. 1 or 3
    • spp

      public L_COMP_DATA spp(int setter)
    • minisblack

      @Cast("l_int32") public int minisblack()
      tiff g4 photometry
    • minisblack

      public L_COMP_DATA minisblack(int setter)
    • predictor

      @Cast("l_int32") public int predictor()
      flate data has PNG predictors
    • predictor

      public L_COMP_DATA predictor(int setter)
    • nbytes

      @Cast("size_t") public long nbytes()
      number of uncompressed raster bytes
    • nbytes

      public L_COMP_DATA nbytes(long setter)
    • res

      @Cast("l_int32") public int res()
      resolution (ppi)
    • res

      public L_COMP_DATA res(int setter)