Class L_Compressed_Data

java.lang.Object
com.sun.jna.Structure
net.sourceforge.lept4j.L_Compressed_Data
Direct Known Subclasses:
L_Compressed_Data.ByReference, L_Compressed_Data.ByValue

public class L_Compressed_Data extends com.sun.jna.Structure
Compressed image data
native declaration : imageio.h:79
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java or JNA.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from class com.sun.jna.Structure

    com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    bits/sample; typ.
    com.sun.jna.Pointer
    ascii85-encoded uncompressed cmap
    C type : char*
    com.sun.jna.Pointer
    hex pdf array for the cmap
    C type : char*
    com.sun.jna.Pointer
    ascii85-encoded gzipped raster data
    C type : char*
    com.sun.jna.Pointer
    gzipped raster data
    C type : l_uint8*
    int
    image height
    C type : l_int32
    int
    tiff g4 photometry
    C type : l_int32
    number of uncompressed raster bytes
    number of ascii85 encoded bytes
    number of compressed bytes
    int
    number of colors in cmap
    C type : l_int32
    int
    flate data has PNG predictors
    C type : l_int32
    int
    resolution (ppi)
    C type : l_int32
    int
    samples/pixel; typ.
    int
    encoding type: L_JPEG_ENCODE, etc
    C type : l_int32
    int
    image width
    C type : l_int32

    Fields inherited from class com.sun.jna.Structure

    ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    L_Compressed_Data​(com.sun.jna.Pointer peer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected List<String>
    Gets this Structure's field names in their proper order.

    Methods inherited from class com.sun.jna.Structure

    allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • type

      public int type
      encoding type: L_JPEG_ENCODE, etc
      C type : l_int32
    • datacomp

      public com.sun.jna.Pointer datacomp
      gzipped raster data
      C type : l_uint8*
    • nbytescomp

      public NativeSize nbytescomp
      number of compressed bytes
    • data85

      public com.sun.jna.Pointer data85
      ascii85-encoded gzipped raster data
      C type : char*
    • nbytes85

      public NativeSize nbytes85
      number of ascii85 encoded bytes
    • cmapdata85

      public com.sun.jna.Pointer cmapdata85
      ascii85-encoded uncompressed cmap
      C type : char*
    • cmapdatahex

      public com.sun.jna.Pointer cmapdatahex
      hex pdf array for the cmap
      C type : char*
    • ncolors

      public int ncolors
      number of colors in cmap
      C type : l_int32
    • w

      public int w
      image width
      C type : l_int32
    • h

      public int h
      image height
      C type : l_int32
    • bps

      public int bps
      bits/sample; typ. 1, 2, 4 or 8
      C type : l_int32
    • spp

      public int spp
      samples/pixel; typ. 1 or 3
      C type : l_int32
    • minisblack

      public int minisblack
      tiff g4 photometry
      C type : l_int32
    • predictor

      public int predictor
      flate data has PNG predictors
      C type : l_int32
    • nbytes

      public NativeSize nbytes
      number of uncompressed raster bytes
    • res

      public int res
      resolution (ppi)
      C type : l_int32
  • Constructor Details

    • L_Compressed_Data

      public L_Compressed_Data()
    • L_Compressed_Data

      public L_Compressed_Data(com.sun.jna.Pointer peer)
  • Method Details

    • getFieldOrder

      protected List<String> getFieldOrder()
      Gets this Structure's field names in their proper order.
      Overrides:
      getFieldOrder in class com.sun.jna.Structure
      Returns:
      list of ordered field names