| | |
How to display graphics in 256 color in C
![]() |
Hi,
I have tried a VGA mode in C with graphics.h which displayed graphics in 256 color but 320X240 resolution. I want to know the way to display graphics in 256 color in 640X480 resolution.Can anybody please help me.?
Also I have tried to display a bmp file using graphics in C following the .bmp file format but the image is being distorted. Please provide exact procedure of reading a bmp file n dislaying it.
Thanks.
Mutyala Rao Aripaka
I have tried a VGA mode in C with graphics.h which displayed graphics in 256 color but 320X240 resolution. I want to know the way to display graphics in 256 color in 640X480 resolution.Can anybody please help me.?
Also I have tried to display a bmp file using graphics in C following the .bmp file format but the image is being distorted. Please provide exact procedure of reading a bmp file n dislaying it.
Thanks.
Mutyala Rao Aripaka
•
•
Join Date: Jul 2005
Posts: 164
Reputation:
Solved Threads: 5
Playing with VGA. You will probably benefit from this . It shows you how to use VGA properly.
Not sure, if this is what you want for displaying a BMP file:
http://www.daniweb.com/code/snippet174.html
http://www.daniweb.com/code/snippet174.html
May 'the Google' be with you!
![]() |
Similar Threads
- Highlighting squares in chessboard (Java)
- cannot get 256 color to apply to my monitor i dont know what to do (Windows 95 / 98 / Me)
- Graphics in Pixel,Mode13h:Part 1 (C++)
- Lost sound and 256 color display after Windows 98 SE reinstall (Windows 95 / 98 / Me)
Other Threads in the C Forum
- Previous Thread: Windows API functions to read and write files in C
- Next Thread: 3D Graphic Artist Looking for Pointers
| Thread Tools | Search this Thread |
#include adobe api array arrays asterisks binarysearch calculate char cm copyanyfile copyimagefile copypdffile cprogramme creafecopyofanytypeoffileinc createcopyoffile createprocess() csyntax database directory dynamic feet fflush fgets file fork forloop frequency getlasterror givemetehcodez global graphics gtkgcurlcompiling hacking hardware highest homework i/o include incrementoperators input interest kernel kilometer km linked linkedlist linux linuxsegmentationfault list locate logical_drives loopinsideloop. match matrix meter microsoft motherboard mqqueue mysql number odf open opensource owf pattern pdf performance pointer posix probleminc process program programming pyramidusingturboccodes radix read recursion recv repetition research scanf scheduling segmentationfault send sequential shape socket socketprograming stack standard string systemcall turboc unix user voidmain() wab win32api windows.h






