ImageTaskSave(Stream, NullableImageFormat) Method
Executes all the commands in the chain and saves the resulting image to the specified stream.
Namespace: GleamTech.ImageUltimateAssembly: GleamTech.ImageUltimate (in GleamTech.ImageUltimate.dll) Version: 6.2.0
public ImageTask Save(
Stream imageStream,
ImageFormat? imageFormat = null
)
Public Function Save (
imageStream As Stream,
Optional imageFormat As ImageFormat? = Nothing
) As ImageTask
- imageStream Stream
- The stream to save the image to.
- imageFormat NullableImageFormat (Optional)
-
The file format used to save the image.
If not specified, the same file format of the source image will be used
and if the format is not supported for saving, then Jpeg format will be used.
ImageTaskThe same instance of this class.