CodeCarvings.Piczard
TransmitProcessedImageToWebResponse(Object,HttpResponse) Method
See Also  Send Feedback
CodeCarvings.Piczard Namespace > ImageProcessingFilter Class > TransmitProcessedImageToWebResponse Method : TransmitProcessedImageToWebResponse(Object,HttpResponse) 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.
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 default image format (CoreSettings.ImageArchiver.DefaultImageFormatId).

Syntax

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

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.

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.