CodeCarvings.Piczard
TransmitProcessedImageToWebResponse(Object,HttpResponse) Method
See Also  Send Feedback
CodeCarvings.Piczard Namespace > ImageProcessingJob 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 all the filters to the specified image, 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 Sub TransmitProcessedImageToWebResponse( _
   ByVal source As Object, _
   ByVal response As HttpResponse _
) 
C#  
public 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.