SaveJpg(Stream,Int64,Boolean) Method
Kaliko.ImageLibrary Namespace > KalikoImage Class > SaveJpg Method : SaveJpg(Stream,Int64,Boolean) Method |
Stream to save the image to
Compression quality setting (0-100)
Save original/user-defined resolution
Save image to stream in JPG-format
Syntax
Parameters
- stream
- Stream to save the image to
- quality
- Compression quality setting (0-100)
- saveResolution
- Save original/user-defined resolution
Example
// Save image to stream in jpg format with quality setting 90 MemoryStream memoryStream = new MemoryStream(); image.SaveJpg(memoryStream, 90, true);
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2