ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/12/28/00:04:13

Date: Sun, 27 Dec 92 22:29:09 -0600
From: Zhanjun Yue <yue AT earth DOT eecs DOT uic DOT edu>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Ask for graphics program

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019