public final class Jpeg2000Writer extends Object
Modifier and Type | Method and Description |
---|---|
static void |
write(String imageUri,
CartographicExtent extent,
CartographicExtent subExtent,
Jpeg2000CompressionProfile compressionProfile,
int compressionRate,
String jpeg2000Uri,
boolean overwriteExistingFile)
Converts an image, such as a BMP, to a GeoJP2 file that can be used as an image globe overlay.
|
static void |
write(String imageUri,
CartographicExtent extent,
CartographicExtent subExtent,
Jpeg2000CompressionProfile compressionProfile,
int compressionRate,
String jpeg2000Uri,
boolean overwriteExistingFile,
Color transparentColor)
Converts an image, such as a BMP, to a GeoJP2 file that can be used as an image globe overlay.
|
static void |
write(String imageUri,
CartographicExtent extent,
Jpeg2000CompressionProfile compressionProfile,
int compressionRate,
String jpeg2000Uri,
boolean overwriteExistingFile)
Converts an image, such as a BMP, to a GeoJP2 file that can be used as an image globe overlay.
|
static void |
write(String imageUri,
Jpeg2000CompressionProfile compressionProfile,
int compressionRate,
String jpeg2000Uri,
boolean overwriteExistingFile)
Converts an image, such as a BMP, to a GeoJP2 file that can be used as an image globe overlay.
|
static void |
write(URI imageUri,
CartographicExtent extent,
CartographicExtent subExtent,
Jpeg2000CompressionProfile compressionProfile,
int compressionRate,
URI jpeg2000Uri,
boolean overwriteExistingFile)
Converts an image, such as a BMP, to a GeoJP2 file that can be used as an image globe overlay.
|
static void |
write(URI imageUri,
CartographicExtent extent,
CartographicExtent subExtent,
Jpeg2000CompressionProfile compressionProfile,
int compressionRate,
URI jpeg2000Uri,
boolean overwriteExistingFile,
Color transparentColor)
Converts an image, such as a BMP, to a GeoJP2 file that can be used as an image globe overlay.
|
static void |
write(URI imageUri,
CartographicExtent extent,
Jpeg2000CompressionProfile compressionProfile,
int compressionRate,
URI jpeg2000Uri,
boolean overwriteExistingFile)
Converts an image, such as a BMP, to a GeoJP2 file that can be used as an image globe overlay.
|
static void |
write(URI imageUri,
Jpeg2000CompressionProfile compressionProfile,
int compressionRate,
URI jpeg2000Uri,
boolean overwriteExistingFile)
Converts an image, such as a BMP, to a GeoJP2 file that can be used as an image globe overlay.
|
public static final void write(URI imageUri, Jpeg2000CompressionProfile compressionProfile, int compressionRate, URI jpeg2000Uri, boolean overwriteExistingFile)
imageUri
- The image filename to be converted. Only file URIs are supported.compressionProfile
- The compression profile.compressionRate
- A higher compression rate results in smaller JPEG 2000 files. Use 1 for no compression. Valid values are 1 to 65535.jpeg2000Uri
- The JPEG 2000 filename. Only file URIs are supported.overwriteExistingFile
- If true and the JPEG 2000 file already exists, the file will be overwritten during the conversion.public static final void write(String imageUri, Jpeg2000CompressionProfile compressionProfile, int compressionRate, String jpeg2000Uri, boolean overwriteExistingFile)
imageUri
- The image filename to be converted. Only file URIs are supported.compressionProfile
- The compression profile.compressionRate
- A higher compression rate results in smaller JPEG 2000 files. Use 1 for no compression. Valid values are 1 to 65535.jpeg2000Uri
- The JPEG 2000 filename. Only file URIs are supported.overwriteExistingFile
- If true and the JPEG 2000 file already exists, the file will be overwritten during the conversion.public static final void write(URI imageUri, CartographicExtent extent, Jpeg2000CompressionProfile compressionProfile, int compressionRate, URI jpeg2000Uri, boolean overwriteExistingFile)
imageUri
- The image filename to be converted. Only file URIs are supported.extent
- The extent of the image. The extent can be null if the image defines the extent as with a GeoTIFF image. If specified and the image defines an extent, this will override the image defined extent.compressionProfile
- The compression profile.compressionRate
- A higher compression rate results in smaller JPEG 2000 files. Use 1 for no compression. Valid values are 1 to 65535.jpeg2000Uri
- The JPEG 2000 filename. Only file URIs are supported.overwriteExistingFile
- If true and the JPEG 2000 file already exists, the file will be overwritten during the conversion.public static final void write(String imageUri, CartographicExtent extent, Jpeg2000CompressionProfile compressionProfile, int compressionRate, String jpeg2000Uri, boolean overwriteExistingFile)
imageUri
- The image filename to be converted. Only file URIs are supported.extent
- The extent of the image. The extent can be null if the image defines the extent as with a GeoTIFF image.compressionProfile
- The compression profile.compressionRate
- A higher compression rate results in smaller JPEG 2000 files. Use 1 for no compression. Valid values are 1 to 65535.jpeg2000Uri
- The JPEG 2000 filename. Only file URIs are supported.overwriteExistingFile
- If true and the JPEG 2000 file already exists, the file will be overwritten during the conversion.public static final void write(URI imageUri, CartographicExtent extent, CartographicExtent subExtent, Jpeg2000CompressionProfile compressionProfile, int compressionRate, URI jpeg2000Uri, boolean overwriteExistingFile)
imageUri
- The image filename to be converted. Only file URIs are supported.extent
- The extent of the image. The extent can be null if the image defines the extent as with a GeoTIFF image. If specified and the image defines an extent, this will override the image defined extent.subExtent
- If a sub-extent is specified, only part of the image defined by the sub-extent is converted.compressionProfile
- The compression profile.compressionRate
- A higher compression rate results in smaller JPEG 2000 files. Use 1 for no compression. Valid values are 1 to 65535.jpeg2000Uri
- The JPEG 2000 filename. Only file URIs are supported.overwriteExistingFile
- If true and the JPEG 2000 file already exists, the file will be overwritten during the conversion.public static final void write(String imageUri, CartographicExtent extent, CartographicExtent subExtent, Jpeg2000CompressionProfile compressionProfile, int compressionRate, String jpeg2000Uri, boolean overwriteExistingFile)
imageUri
- The image filename to be converted. Only file URIs are supported.extent
- The extent of the image. The extent can be null if the image defines the extent as with a GeoTIFF image.subExtent
- If a sub-extent is specified, only part of the image defined by the sub-extent is converted.compressionProfile
- The compression profile.compressionRate
- A higher compression rate results in smaller JPEG 2000 files. Use 1 for no compression. Valid values are 1 to 65535.jpeg2000Uri
- The JPEG 2000 filename. Only file URIs are supported.overwriteExistingFile
- If true and the JPEG 2000 file already exists, the file will be overwritten during the conversion.public static final void write(URI imageUri, CartographicExtent extent, CartographicExtent subExtent, Jpeg2000CompressionProfile compressionProfile, int compressionRate, URI jpeg2000Uri, boolean overwriteExistingFile, Color transparentColor)
imageUri
- The image filename to be converted. Only file URIs are supported.extent
- The extent of the image. The extent can be null if the image defines the extent as with a GeoTIFF image. If specified and the image defines an extent, this will override the image defined extent.subExtent
- If a sub-extent is specified, only part of the image defined by the sub-extent is converted.compressionProfile
- The compression profile.compressionRate
- A higher compression rate results in smaller JPEG 2000 files. Use 1 for no compression. Valid values are 1 to 65535.jpeg2000Uri
- The JPEG 2000 filename. Only file URIs are supported.overwriteExistingFile
- If true and the JPEG 2000 file already exists, the file will be overwritten during the conversion.transparentColor
- Any color in the image that matches the transparent color will be made transparent.public static final void write(String imageUri, CartographicExtent extent, CartographicExtent subExtent, Jpeg2000CompressionProfile compressionProfile, int compressionRate, String jpeg2000Uri, boolean overwriteExistingFile, Color transparentColor)
imageUri
- The image filename to be converted. Only file URIs are supported.extent
- The extent of the image. The extent can be null if the image defines the extent as with a GeoTIFF image.subExtent
- If a sub-extent is specified, only part of the image defined by the sub-extent is converted.compressionProfile
- The compression profile.compressionRate
- A higher compression rate results in smaller JPEG 2000 files. Use 1 for no compression. Valid values are 1 to 65535.jpeg2000Uri
- The JPEG 2000 filename. Only file URIs are supported.overwriteExistingFile
- If true and the JPEG 2000 file already exists, the file will be overwritten during the conversion.transparentColor
- Any color in the image that matches the transparent color will be made transparent.