OpenMetaverse Protocol Library Developers API Documentation
Encode Method (image, lossless)
NamespacesOpenMetaverse.ImagingOpenJPEGEncode(ManagedImage, Boolean)
Encode a object into a byte array
Declaration Syntax
C#
public
static
byte[]
Encode(

ManagedImage

image,

bool
lossless
)
Parameters
image ( ManagedImage)
The object to encode
lossless ( Boolean)
true to enable lossless conversion, only useful for small images ie: sculptmaps
Return Value
A byte array containing the encoded Image object
See Also

Assembly: OpenMetaverse(Module: OpenMetaverse.dll) Version: 0.9.3.3318 (0.9.3.3318)