• Advertisement

Archived

This topic is now archived and is closed to further replies.

How to display a .pcx immage on the screen

This topic is 6566 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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/

Share this post


Link to post
Share on other sites

  • Advertisement