Enum TIFFOutputDevice.TIFFType
- java.lang.Object
-
- java.lang.Enum<TIFFOutputDevice.TIFFType>
-
- com.levigo.jadice.server.ghostscript.TIFFOutputDevice.TIFFType
-
- All Implemented Interfaces:
Serializable
,Comparable<TIFFOutputDevice.TIFFType>
- Enclosing class:
- TIFFOutputDevice
public static enum TIFFOutputDevice.TIFFType extends Enum<TIFFOutputDevice.TIFFType>
This enum determines the type of TIFF that is generated.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CMYK32
Produces 32-bit CMYK output (8 bits per component).CRLE
Bi-level image with G3 fax encoding with no EOLs (CCITT T.4).G3
Bi-level image with G3 fax encoding with EOLs (CCITT T.4).G32D
Bi-level image with 2-D G3 fax encoding (CCITT T.4).G4
Bi-level image with G4 fax encoding (CCITT T.6).Gray
Produces 8-bit gray output.LZW
Bi-level image with LZW-compatible (tag = 5) compressionPackBits
Bi-level image with PackBits (tag = 32773) compressionRGB12
Produces 12-bit RGB output (4 bits per component).RGB24
Produces 24-bit RGB output (8 bits per component).Separation
The tiffsep device creates multiple output files.
-
Field Summary
Fields Modifier and Type Field Description String
deviceName
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TIFFOutputDevice.TIFFType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TIFFOutputDevice.TIFFType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Gray
public static final TIFFOutputDevice.TIFFType Gray
Produces 8-bit gray output.
-
RGB12
public static final TIFFOutputDevice.TIFFType RGB12
Produces 12-bit RGB output (4 bits per component).
-
RGB24
public static final TIFFOutputDevice.TIFFType RGB24
Produces 24-bit RGB output (8 bits per component).
-
CMYK32
public static final TIFFOutputDevice.TIFFType CMYK32
Produces 32-bit CMYK output (8 bits per component).
-
Separation
public static final TIFFOutputDevice.TIFFType Separation
The tiffsep device creates multiple output files. The device creates a single 32 bit composite CMYK file (tiff32nc format) and multiple tiffgray files. A tiffgray file is created for each separation.
-
CRLE
public static final TIFFOutputDevice.TIFFType CRLE
Bi-level image with G3 fax encoding with no EOLs (CCITT T.4).
-
G3
public static final TIFFOutputDevice.TIFFType G3
Bi-level image with G3 fax encoding with EOLs (CCITT T.4).
-
G32D
public static final TIFFOutputDevice.TIFFType G32D
Bi-level image with 2-D G3 fax encoding (CCITT T.4).
-
G4
public static final TIFFOutputDevice.TIFFType G4
Bi-level image with G4 fax encoding (CCITT T.6).
-
LZW
public static final TIFFOutputDevice.TIFFType LZW
Bi-level image with LZW-compatible (tag = 5) compression
-
PackBits
public static final TIFFOutputDevice.TIFFType PackBits
Bi-level image with PackBits (tag = 32773) compression
-
-
Field Detail
-
deviceName
public final String deviceName
-
-
Method Detail
-
values
public static TIFFOutputDevice.TIFFType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TIFFOutputDevice.TIFFType c : TIFFOutputDevice.TIFFType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TIFFOutputDevice.TIFFType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-