Click or drag to resize

Jpeg2000WriterWrite Method (String, Jpeg2000CompressionProfile, Int32, String, Boolean)

Converts an image, such as a BMP, to a GeoJP2 file that can be used as an image globe overlay. The extent of the image must be in the image, as in a GeoTIFF.

Namespace:  AGI.Foundation.Graphics.Imaging
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public static void Write(
	string imageUri,
	Jpeg2000CompressionProfile compressionProfile,
	int compressionRate,
	string jpeg2000Uri,
	bool overwriteExistingFile
)

Parameters

imageUri
Type: SystemString
The image filename to be converted. Only file URIs are supported.
compressionProfile
Type: AGI.Foundation.Graphics.ImagingJpeg2000CompressionProfile
The compression profile.
compressionRate
Type: SystemInt32
A higher compression rate results in smaller JPEG 2000 files. Use 1 for no compression. Valid values are 1 to 65535.
jpeg2000Uri
Type: SystemString
The JPEG 2000 filename. Only file URIs are supported.
overwriteExistingFile
Type: SystemBoolean
If true and the JPEG 2000 file already exists, the file will be overwritten during the conversion.
See Also