OpenMetaverse.AssetTexture.Encode C# (CSharp) Method

Encode() public method

Populates the AssetData byte array with a JPEG2000 encoded image created from the data in Image
public Encode ( ) : void
return void
        public override void Encode()
        {
            AssetData = OpenJPEG.Encode(Image);
        }