Mail Archives: djgpp/1992/12/28/00:04:13
Hi,
I am a new user of djgpp free software. I just installed it on my PC.
I need to write a program which can draw a gray level image onto screen.
The size of my image is large, about 800 x 800 pixels. I guess I have to
use SuperVGA mode. My video card has 1 MB memory. Because I don't know
how to program the superVGA graphics, here I ask some kind expert on this
to write or provide me such a program, or a reference or a template.
The input of the program:
unsigned char image[700][700] --each element ranged 0-255
-- 0 is dark, 255 is brightest.
The output: Put each element of image[700][700] as a pixel on screen.
I very appreciate your help.
Z. Yue
- Raw text -