/// <summary> /// Populates the <code>AssetData</code> byte array with a JPEG2000 /// encoded image created from the data in <code>Image</code> /// </summary> public override void Encode() { #if PocketPC throw new Exception("OpenJPEG encoding is not supported on the PocketPC"); #else AssetData = OpenJPEG.Encode(Image); #endif }
/// <summary> /// Populates the <seealso cref="AssetData"/> byte array with a JPEG2000 /// encoded image created from the data in <seealso cref="Image"/> /// </summary> public override void Encode() { AssetData = OpenJPEG.Encode(Image); }