Display picture on the screen from .jpg file

Description

Display a JPEG file previouly saved in the flash memory on the screen.The position on the screen is based on the current position(change use "GP" command). the picture can be aligned LEFT/CENTER/RIGHT on horizontal, and TOP/MIDDLE/BOTTOM on vertical, the direct alignment setting command is "ALIGN" .
The default alignment is TOP/LEFT.

The JPEG file format must be baseline format. agrassive format not supported. 

Usage:

Direct:

"JPEG" follow with file name and space

Arduino:

void JPEG(const char * filename)

C:

void Digole_JPEG(const char * filename)

Parameters:

filename

A character array of file name. The maximum length is 11 bytes.

Example (Arduino):

mydisp.JPEG("1.jpg");  //display 1.jpg file to the screen    

Changelog

Version Description
V7 function was added.

See Also

Save file to flash

Set alignment