'Declaration Public Shared Function CompressJPEG( _ ByVal image As Image, _ ByVal quality As Integer _ ) As MemoryStream
'Usage Dim image As Image Dim quality As Integer Dim value As MemoryStream value = Image.CompressJPEG(image, quality)
public static MemoryStream CompressJPEG( Image image, int quality )
Parameters
- image
- The .jpeg image that will be used to create the memory stream.
- quality
- The quality of the encoding used for compressing the .jpeg.