SaveJpg(Stream,Int64) Method

Kaliko Image Library

Kaliko.ImageLibrary
SaveJpg(Stream,Int64) Method
Example 





Stream to save the image to
Compression quality setting (0-100)
Syntax
'Declaration
 
Public Overloads Sub SaveJpg( _
   ByVal stream As System.IO.Stream, _
   ByVal quality As System.Long _
) 
'Usage
 
Dim instance As KalikoImage
Dim stream As System.IO.Stream
Dim quality As System.Long
 
instance.SaveJpg(stream, quality)
public void SaveJpg( 
   System.IO.Stream stream,
   System.long quality
)
public procedure SaveJpg( 
    stream: System.IO.Stream;
    quality: System.Int64
); 
public function SaveJpg( 
   stream : System.IO.Stream,
   quality : System.long
);
public: void SaveJpg( 
   System.IO.Stream* stream,
   System.long quality
) 
public:
void SaveJpg( 
   System.IO.Stream^ stream,
   System.int64 quality
) 

Parameters

stream
Stream to save the image to
quality
Compression quality setting (0-100)
Example
// Save image to stream in jpg format with quality setting 90
MemoryStream memoryStream = new MemoryStream();
image.SaveJpg(memoryStream, 90);
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

See Also

This documentation was created using Document! X from Innovasys