DIBSaveAs Function | |
Save the DIB to a file.
Namespace:
VOGUIClasses
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax FUNCTION DIBSaveAs(
pWinBmp AS PTR,
pszFName AS PSZ
) AS VOID
public static void DIBSaveAs(
void* pWinBmp,
Psz pszFName
)
Request Example
View SourceParameters
- pWinBmp
- Type: Void*
Pointer to DIB data. - pszFName
- Type: Psz
Name of the new DIB file.
Return Value
Type:
Remarks
DIBSaveAs() saves the DIB as a file.
Examples
The following sample saves the image, test.jpg, as file, test.dib:
1FUNC Start()
2LOCAL pDib AS PTR
1pDib := DIBCreateFromFile("c:\test.jpg")
2IF pDib = NULL_PTR
3DIBSaveAs(pDib, "c:\test.dib")
4DIBDelete(pDib)
5ENDIF
6WAIT
See Also