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
) |
See Also