NetCharts Pro

netcharts.pro.common.image.tiff
Class NFTIFFImageParams

java.lang.Object
  extended by netcharts.pro.common.image.NFImageParams
      extended by netcharts.pro.common.image.NFZoomableImageParams
          extended by netcharts.pro.common.image.raster.NFRasterImageParams
              extended by netcharts.pro.common.image.tiff.NFTIFFImageParams
All Implemented Interfaces:
java.io.Serializable, NFRasterImageTypes

public class NFTIFFImageParams
extends NFRasterImageParams

Used to specify the parameters of the image generation when outputting TIFF based raster images.

See Also:
Serialized Form

Field Summary
static int COMPRESSION_DEFLATE
          DEFLATE lossless compression (also known as "Zip-in-TIFF").
static int COMPRESSION_GROUP3_1D
          Modified Huffman Compression (CCITT Group 3 1D facsimile compression).
static int COMPRESSION_GROUP3_2D
          CCITT T.4 bilevel compression (CCITT Group 3 2D facsimile compression).
static int COMPRESSION_GROUP4
          CCITT T.6 bilevel compression (CCITT Group 4 facsimile compression).
static int COMPRESSION_JPEG_TTN2
          JPEG-in-TIFF compression.
static int COMPRESSION_NONE
          No compression.
static int COMPRESSION_PACKBITS
          Byte-oriented run-length encoding "PackBits" compression.
 
Fields inherited from interface netcharts.pro.common.image.raster.NFRasterImageTypes
DEFAULT_MIME_TYPE, MIME_TYPE_BMP, MIME_TYPE_JPG, MIME_TYPE_PICT, MIME_TYPE_PNG, MIME_TYPE_TGA, MIME_TYPE_TIFF, MIME_TYPE_WBMP, MIME_TYPE_XBM, MIME_TYPE_XPM
 
Constructor Summary
NFTIFFImageParams()
          Constructs a default NFTIFFImageParams instance.
NFTIFFImageParams(int compression)
          Constructs a NFTIFFImageParams instance specifying the TIFF compression type.
 
Method Summary
 int getCompression()
          Returns the TIFF compression type of the output.
 void setCompression(int compression)
          Sets the TIFF compression type of the output.
 
Methods inherited from class netcharts.pro.common.image.raster.NFRasterImageParams
isMapIncluded, isPrinterMatchedFontsEnabled, setMapIncluded, setPrinterMatchedFontsEnabled
 
Methods inherited from class netcharts.pro.common.image.NFZoomableImageParams
getZoomInHandler, getZoomOutHandler, isZoomOutButtonVisible, setZoomInHandler, setZoomOutButtonVisible, setZoomOutHandler
 
Methods inherited from class netcharts.pro.common.image.NFImageParams
getAltTemplate, getDefaultHref, getDescription, getInternalParams, getMimeType, setAltTemplate, setDefaultHref, setDescription
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPRESSION_NONE

public static final int COMPRESSION_NONE
No compression.


COMPRESSION_PACKBITS

public static final int COMPRESSION_PACKBITS
Byte-oriented run-length encoding "PackBits" compression.


COMPRESSION_GROUP3_1D

public static final int COMPRESSION_GROUP3_1D
Modified Huffman Compression (CCITT Group 3 1D facsimile compression).

Not currently supported.


COMPRESSION_GROUP3_2D

public static final int COMPRESSION_GROUP3_2D
CCITT T.4 bilevel compression (CCITT Group 3 2D facsimile compression).

Not currently supported.


COMPRESSION_GROUP4

public static final int COMPRESSION_GROUP4
CCITT T.6 bilevel compression (CCITT Group 4 facsimile compression).

Not currently supported.


COMPRESSION_JPEG_TTN2

public static final int COMPRESSION_JPEG_TTN2
JPEG-in-TIFF compression.


COMPRESSION_DEFLATE

public static final int COMPRESSION_DEFLATE
DEFLATE lossless compression (also known as "Zip-in-TIFF").

Constructor Detail

NFTIFFImageParams

public NFTIFFImageParams()
Constructs a default NFTIFFImageParams instance.


NFTIFFImageParams

public NFTIFFImageParams(int compression)
Constructs a NFTIFFImageParams instance specifying the TIFF compression type.

Parameters:
compression - The TIFF compression type of the output.
Method Detail

getCompression

public int getCompression()
Returns the TIFF compression type of the output.

Returns:
The TIFF compression type of the output.

setCompression

public void setCompression(int compression)
Sets the TIFF compression type of the output. Valid values include COMPRESSION_NONE, COMPRESSION_PACKBITS, COMPRESSION_JPEG_TTN2 and COMPRESSION_DEFLATE.

Parameters:
compression - The TIFF compression type of the output.

NetCharts Pro


Visual Mining, Inc.
2099 Gaither Rd.
Suite 220
Rockville, MD 20850
800.308.0731
301.947.8293 FAX

Copyright © Visual Mining, Inc. 1996 - 2011
All Rights Reserved.

NetCharts Pro TM is a registered trademark of Visual Mining, Inc. Other brands and their products are trademarks of their respective holders.

Last Modified: Jun 28, 2011