90
Image Capture Function
This function is used to capture image data and save it as a JPEG file. Using the function together
with the JPEG Library, the captured image data is output as image data in either 2-gray scale or
256-gray scale. The captured image data can also be output in low resolution by reducing its size.
The following table shows the reductions and sizes.
Table 2.58
Reduction 1/1, 1/2, 1/4
1/1 reduction 752 x 480 pixels
1/2 reduction 376 x 240 pixels
1/4 reduction 188 x 120 pixels
Size
Partial extraction is possible.
The functions of the Imager Library and JPEG Library relevant to the “Image Capture Function”
are as follows.
IMGGetImage
: Captures still image.
JPGEncodeToFile
: Encodes RGB data or YUV data to output the result as a JPEG file.
JPGEncodeToFileEx
: Encodes RGB data or YUV data to output the result as a JPEG file. It
specifies “with thumbnail” or “without thumbnail”.