CodeCarvings.Piczard
GetProcessedImage(Object,FormatEncoderParams) Method
See Also  Send Feedback
CodeCarvings.Piczard Namespace > ImageProcessingFilter Class > GetProcessedImage Method : GetProcessedImage(Object,FormatEncoderParams) 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.
hintFormatEncoderParams
A FormatEncoderParams object used to guess the right BackgroundColor and quantization mode to apply to the output image.
Applies the current ImageProcessingFilter to the specified image and returns the result as a Bitmap object; the default resolution (96 DPI) is used.
BackgroundColor and quantization are applied according to the specified FormatEncoderParams.

Syntax

Visual Basic (Declaration)  
Public Overloads Overridable Function GetProcessedImage( _
   ByVal source As Object, _
   ByVal hintFormatEncoderParams As FormatEncoderParams _
) As Bitmap
C#  
public virtual Bitmap GetProcessedImage( 
   object source,
   FormatEncoderParams hintFormatEncoderParams
)

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.
hintFormatEncoderParams
A FormatEncoderParams object used to guess the right BackgroundColor and quantization mode to apply to the output image.

Return Value

The image processed by the current ImageProcessingFilter.

Requirements

Requires Piczard 1.2.x or higher.

See Also

©2013 Sergio Turolla. All Rights Reserved.