Enum Class VipsForeignTiffCompression
- All Implemented Interfaces:
VEnum
,VNamedEnum
,Serializable
,Comparable<VipsForeignTiffCompression>
,Constable
public enum VipsForeignTiffCompression
extends Enum<VipsForeignTiffCompression>
implements VNamedEnum
The compression types supported by the tiff writer.
Use Q
to set the jpeg compression level, default 75.
Use predictor
to set the lzw or deflate prediction, default horizontal.
Use lossless
to set WEBP lossless compression.
Use level
to set webp and zstd compression level.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionfax4 compressiondeflate (zip) compressionJP2K compressionjpeg compressionLZW compressionno compressionpackbits compressionWEBP compressionZSTD compression -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
int
static VipsForeignTiffCompression
Returns the enum constant of this class with the specified name.static VipsForeignTiffCompression[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FOREIGN_TIFF_COMPRESSION_NONE
no compression
-
FOREIGN_TIFF_COMPRESSION_JPEG
jpeg compression
-
FOREIGN_TIFF_COMPRESSION_DEFLATE
deflate (zip) compression
-
FOREIGN_TIFF_COMPRESSION_PACKBITS
packbits compression
-
FOREIGN_TIFF_COMPRESSION_CCITTFAX4
fax4 compression
-
FOREIGN_TIFF_COMPRESSION_LZW
LZW compression
-
FOREIGN_TIFF_COMPRESSION_WEBP
WEBP compression
-
FOREIGN_TIFF_COMPRESSION_ZSTD
ZSTD compression
-
FOREIGN_TIFF_COMPRESSION_JP2K
JP2K compression
-
FOREIGN_TIFF_COMPRESSION_LAST
-
-
Field Details
-
parentName
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
- Specified by:
getName
in interfaceVNamedEnum
-
getNickname
- Specified by:
getNickname
in interfaceVNamedEnum
-
getRawValue
public int getRawValue()- Specified by:
getRawValue
in interfaceVEnum
-