Method Save
- Namespace
- PaintDotNet.FileTypes
- Assembly
- PaintDotNet.FileTypes.dll
Save(Stream, IReadOnlyFileTypeDocument, IJpegFileTypeSaveOptions, ProgressEventHandler?)
Saves a document as a JPEG to the given Stream and with the specified options.
void Save(Stream output, IReadOnlyFileTypeDocument document, IJpegFileTypeSaveOptions options, ProgressEventHandler? progressCallback = null)
Parameters
outputStreamdocumentIReadOnlyFileTypeDocumentoptionsIJpegFileTypeSaveOptionsprogressCallbackProgressEventHandler