Kaliko.ImageLibrary
StreamPng Method
Save image to the response stream in PNG-format. Ideal for sending realtime generated images to the web client requesting it.
Syntax
'Declaration
Public Sub StreamPng( _ ByVal fileName As System.String _ )
'Usage
Dim instance As KalikoImage Dim fileName As System.String instance.StreamPng(fileName)
public void StreamPng( System.string fileName )
public procedure StreamPng( fileName: System.String );
public function StreamPng( fileName : System.String );
public: void StreamPng( System.string* fileName )
public: void StreamPng( System.String^ fileName )
Parameters
- fileName
Remarks
This method will set the proper HTTP-headers such as filename and mime-type.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also