473,396 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Display bitmap from array

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

Thanks,
Paul Nuschke
Jul 23 '05 #1
2 4171
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
* 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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Nicolas Poirier | last post by:
Is there a simple way to display a small bitmap in a way that it fills the whole background of a form? I mean a mosaic of small bitmaps like the ones used to cover my desktop's background. Thank...
1
by: serge calderara | last post by:
Dear all, Is there a way to display bitmaps inside a datagrid ? regards serge
3
by: serge calderara | last post by:
Dear all I have a datagrid which is bind to a dataset On column in the dataset represent a STATUS Instead of diplaying in my datagrid value of 1 and 0 corresponding to that STATUS field, I...
3
by: Sebastor | last post by:
Hi I create bitmap array : Graphics::TBitmap ***bitmap; bitmap = new Graphics::TBitmap**; for (int s=0;s<x;s++) { bitmap = new Graphics::TBitmap*;
3
by: srinpraveen | last post by:
I want to put a bitmap image which I have created using Microsoft paint onto my C++ program. I am working in Turbo C++ environment. How do I implement it? I found that putimage() attribute does not...
1
by: mallyajiggs | last post by:
form_load () { Call bitmap_func() } bitmap_func() { Image mybitmap = new Bitmap("c:\\abc.bmp"); Graphics g1 = Graphics.FromImage(mybitmap); ...
1
by: davidpryce123 | last post by:
Dear Group. For an application I am developing I need to display a 64 bit bitmap as a compressed ascii string of bits. This is to allow for the easier understanding of the bits for the users....
4
by: bruffchewren | last post by:
Hi there dear gurus and expert coders. i am not gonna start with im a newbie and don't know much about image programming but unfortunately those are the facts :( I am trying to display an image...
1
by: amskape | last post by:
Hi pals, I got a complex Array from the Query. it's Structure is like Array ( => Array ( => anes.admod.net => 1 => 1
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.