CodeCarvings.Piczard
SaveProcessedImageToByteArray(Object,FormatEncoderParams,Single) Method
See Also  Send Feedback
CodeCarvings.Piczard Namespace > ImageProcessingFilter Class > SaveProcessedImageToByteArray Method : SaveProcessedImageToByteArray(Object,FormatEncoderParams,Single) Method

source
The source image to process. Can be: a string (file path), a Stream, an array of bytes containing the image data, an Image object or a LoadedImage object.
formatEncoderParams
A FormatEncoderParams object containing the image format parameters.
outputResolution
The output resolution (DPI) used to process the image.
Applies the current ImageProcessingFilter to the specified image and saves the result Bitmap to a byte array, using the provided FormatEncoderParams and output resolution (DPI).

Syntax

Visual Basic (Declaration)  
Public Overloads Overridable Function SaveProcessedImageToByteArray( _
   ByVal source As Object, _
   ByVal formatEncoderParams As FormatEncoderParams, _
   ByVal outputResolution As Single _
) As Byte()
C#  
public virtual byte[] SaveProcessedImageToByteArray( 
   object source,
   FormatEncoderParams formatEncoderParams,
   float outputResolution
)

Parameters

source
The source image to process. Can be: a string (file path), a Stream, an array of bytes containing the image data, an Image object or a LoadedImage object.
formatEncoderParams
A FormatEncoderParams object containing the image format parameters.
outputResolution
The output resolution (DPI) used to process the image.

Return Value

The image processed by the current ImageProcessingFilter saved as array of bytes.

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.