TUTORIALS

# How to use the LCD4884 to display a picture-Part one

DFRobot Nov 05 2012 681

Recently, we received an Email from Stefan G?tze, an old German engineer who is interested in Arduino and our shields. In the Email, Stefan gave us some advice to improve our LCD4884 Library and provided us a new LCD4884 Library which is updated from the original one. After testing the new library and Stefan’s Arduino program, we find out some interesting applications on LCD4884 and that is why we want to write a tutorial to share the applications with you. This tutorial may help you to display an image on your Graphic LCD4884 Shield. We will give you a step-by-step guide to realize the image display on the LCD screen. There are five main steps in this tutorial and I hope that after reading this passage, you can easily exhibit an image on your LCD screen.Please download the Arduino library for LCD4884 shield from the product page.

##### Main Components List
How to display an image on LCD4884 We need to take five main steps to make a picture shown on the LCD screen.
##### Step1: Get a BMP Image
• If you already have a BMP image by hand, the step one is really easy for you as you have finished it.
• But if you just have a JPG image or a PNG image or an image of other formats, we should firstly turn it into a BMP image. Following the steps we should take.
Use the software -“Paint ”to open the image.
###### 2.Save the opened image as a BMP IMAGE
We get a BMP image now! We suggest that do not use a PNG image?otherwise it would be turn into transparency .

##### Step3: Change the pixel size of the monochrome
In this step, you can change the pixel size of your image within the limit of 84*48(LCD4884) and then they can be shown on the LCD screen with the size as you want.
###### 3.Change the value of the Horizontal and Vertical

You can set the pixel size of the image as 84*48, 60*30, 35*32, .etc, only if the horizontal value is no more than 84 and the vertical value is no more than 48. Writen by Amy.The rest of details will be come soon.