(TECH) Drawing an image to screen

Moderators: lily.li, violet, jessie, chao.zhang

Post Reply
angelus360
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Thu Mar 24, 2016 3:27 am

(TECH) Drawing an image to screen

Post by angelus360 » Thu Mar 24, 2016 3:32 am

Has anyone had any success drawing an image onto the screen?

The current example code doesn't really cover it aside from drawing boxes and graphics.

Any help is much appreciated!

jinyuan.weng
Pre-kindergarten
Pre-kindergarten
Posts: 33
Joined: Tue Jan 26, 2016 5:17 pm

Re: (TECH) Drawing an image to screen

Post by jinyuan.weng » Fri Mar 25, 2016 3:34 pm

Hi,
I know a way to display image in eclipse.
You can make reference to ...\eclipse\LINKIT_ASSIST_SDK\examples\API\Graphic_SpinningLine.
It is using resource editor tool to convert image, and load the image buffer data to storage. Then get the buffer data by id and display it on screen.
You can check it in "MediaTek_LinkIt_Assist_2502_Developers_Guide_v1_1.pdf", section "4.8. Application Resource".
I had already successful drew a image in eclipse, but don't know how to use the resource editor tool to convert image in Arduino.

Post Reply