ISDBImage::ConvertFormat
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.