
Lab 7: DE2 Control Panel
77
11-9
How to Prepare Your Own Image Data
This section describes how to prepare users’ own image files to be loaded into the
external SRAM or internal M4K SRAM and displayed on the monitor connected to
the DE2 board.
Use any image processing tools such as Corel Photo Paint to load your
desired image data.
Resample your original image into 640x480 resolution and change the
image into 8-bit Grayscale mode. Save the modified image in Window
Bitmap format.
Execute C:\DE2\ImgConv, a image conversion tool developed for DE2
board and the window shown in Figure 11.16 should appear.
Figure 11.16 The Image Converter for converting image into the format for DE2
Control Panel Memory Loading
Click on Open Bitmap button and select the 640x480 Grayscale photo for
conversion.
Once file processing is completed, click on Save Raw Data and a file
named Raw_Data_Gray will be generated and stored in the same directory
as the original image file. You can change the file name’s prefix from
Raw_Data to other names by changing the File Name field in the Window.
Raw_Data_Gray is the raw data that can be downloaded directly into the
SRAM of DE2 and displayed on a VGA monitor using the VGA controller IP
in the DE2_USB_API project.
The ImgConv tool will also generates Raw_Data_BW (and its corresponding