Encodes an
AtalaImage into the specified stream as a JPEG2000 image.
Namespace:
Atalasoft.Imaging.Codec.Jpeg2000
Assembly:
Atalasoft.dotImage.Jpeg2000 (in Atalasoft.dotImage.Jpeg2000.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public override long Save(
Stream stream,
AtalaImage image,
ProgressEventHandler progress
)
Public Overrides Function Save (
stream As Stream,
image As AtalaImage,
progress As ProgressEventHandler
) As Long
Parameters
- stream
- Type: System.IOStream
The stream to encode to. - image
- Type: Atalasoft.ImagingAtalaImage
The image to encode. - progress
- Type: Atalasoft.ImagingProgressEventHandler
A progress Delegate. Pass in null (Nothing in VB) to
ignore progress events
Return Value
Type:
Int64 The number of bytes written to the output stream.
Remarks This method is invoked when using save methods in an
AtalaImage,
Workspace, or
[!:WorkspaceViewer] object. In the professional edition, an ICC color profile is stored with the image if
the
[!:ColorProfile] object of the
AtalaImage object is set.
See Also