CodeCarvings.Piczard
TransmitProcessedImageToWebResponse(Object,HttpResponse,FormatEncoderParams) Method
See Also  Send Feedback
CodeCarvings.Piczard Namespace > ImageProcessingFilter Class > TransmitProcessedImageToWebResponse Method : TransmitProcessedImageToWebResponse(Object,HttpResponse,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.
response
The HttpResponse object to which the image has to be written.
formatEncoderParams
A FormatEncoderParams object containing the image format parameters.
Applies the current ImageProcessingFilter to the specified image using default output resolution (96 DPI), then encodes and writes the result Bitmap directly to the provided HTTP response output stream, using the specified FormatEncoderParams.

Syntax

Visual Basic (Declaration)  
Public Overloads Overridable Sub TransmitProcessedImageToWebResponse( _
   ByVal source As Object, _
   ByVal response As HttpResponse, _
   ByVal formatEncoderParams As FormatEncoderParams _
) 
C#  
public virtual void TransmitProcessedImageToWebResponse( 
   object source,
   HttpResponse response,
   FormatEncoderParams formatEncoderParams
)

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.
response
The HttpResponse object to which the image has to be written.
formatEncoderParams
A FormatEncoderParams object containing the image format parameters.

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.