ISDBImage::ConvertFormat

From MediaMonkey Wiki
Revision as of 15:23, 21 March 2007 by Jiri (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

CoClass SDBImage, Interface ISDBImage

Function ConvertFormat(NewWidth As Long, NewHeight As Long, NewFormat As String, Compression As Long, BackgroundColor As Long) As SDBImage


Parameters

Name Type Description
NewWidth Long Width of the new image (in pixels).
NewHeight Long Height of the new image (in pixels).
NewFormat String Specification of the target format, can be: 'image/jpeg', 'image/png' or 'RGB565'.
Compression Long JPEG compression value (0-100), higher value means better image/less compression.
BackgroundColor Long


Method description

Converts this image to another format and/or dimensions and returns converted SDBImage object.