How to display a .pcx immage on the screen

Started by
1 comment, last by Possibility 24 years, 3 months ago
Hi, i am new to this forum and kind of new to programing. I have taken c++ courses, but they only did programs that run from a linux prompt. What i like to know how to do is how to display a graphics immage on the screen, in particular a .pcx or .jpg immage. Like in alpha centauri, they have all the immages in .pcx format, i would like to know how they display them. It would be extremely helpfull if someone could provide me with a link that would show me how to do this. I currently have Visual C++ 5.0. Possibility
Advertisement
Well, here''s a program that loads a JPG, PCX, TGA, BMP, RLE, GIF or DIB in windows and puts it into a DirectDraw surface: http://cust.nol.at/ppee/DOWNLOADS/DDLOAD.ZIP

Take a look at this page (where I found that link), it has a few more that are good. http://www.geocities.com/SiliconValley/Ridge/6444/directx.html

I would look into using PPP files, though: they have zip quality compressing and are pretty easy to load, besides not being viewable by any image viewers I''ve found (protect those bitmaps!). Go the the MXF Entertainment page and look under tutorials for some source for a BMPtoPPP converter and PPP loader that I use. They aren''t working very well, but they suit my needs just fine right now...

- mallen22@concentric.net
- http://mxf_entertainment.tripod.com/
Wow, thanks for the great info and links!

Possibility

This topic is closed to new replies.

Advertisement