IPC@CHIP® Graphics Library – API Documentation

Header image

Main page


GcErrorCode gcSaveImageToFile ( GcImage image,
const char *  path,
GcImageFileType  fileType 
)

This function saves an image to a BGB or BMP file.

Parameters:
image Pointer to GcImage object that is to be saved; If you pass NULL here, the content of the currently displayed frame buffer will be saved.
path Path of the target image file
fileType This parameter determines the type of image file that is saved.
Returns:
One of the following error codes is returned:
Since:
1.00
Targets:

GC01

GC04

X

X

Examples:
example03.c.





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Tue Jun 27 14:21:34 2017 by Doxygen 1.6.1