FormatImage Method

Moxiecode Image Manager API

Formats a image based in the input parameter. Format parameters: %f - Filename. %e - Extension. %w - Image width. %h - Image height. %tw - Target width. %th - Target height. %ow - Original width. %oh - Original height. Examples: 320x240|gif=%f_%w_%h.gif,320x240=%f_%w_%h.%e

Namespace:  Moxiecode.ImageManager.Utils
Assembly:  MCImageManager (in MCImageManager.dll) Version: 1.0.0.0

Syntax

C#
public static void FormatImage(
	string path,
	string format,
	int quality
)
Visual Basic (Declaration)
Public Shared Sub FormatImage ( _
	path As String, _
	format As String, _
	quality As Integer _
)
Visual C++
public:
static void FormatImage(
	String^ path, 
	String^ format, 
	int quality
)

Parameters

path
Type: System..::.String
File name to format.
format
Type: System..::.String
Format string to process.
quality
Type: System..::.Int32
JPEG quality in percent.

See Also