By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,189 Members | 933 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,189 IT Pros & Developers. It's quick & easy.

Display bitmap from array

P: n/a
Anyone know how to display a bitmap from an array using ATL, MFC, et
al.

Thanks,
Paul Nuschke
Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Paul Nuschke wrote:
Anyone know how to display a bitmap from an array using ATL, MFC, et
al.


Yes, somebody where "display" or "bitmap" or "ATL" or "MFC" are on
topic should know. Try comp.os.ms-windows.programmer.win32
Jul 23 '05 #2

P: n/a
* Paul Nuschke:

Anyone know how to display a bitmap from an array using ATL, MFC, et
al.


ATL, MFC et al. are O F F T O P I C here.

However, using only the standard C++ library you can convert the array
to an image file, e.g. PNG format, and then display that image using
any program that supports the format.

An interesting format which lets you use only text i/o is the X11 XPM
format (note: this is a color-support extension of XBM, which is only
black/white). The image file you generate is then C, and therefore
C++, source code! You can then display it using any XPM-aware tool.

--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.