Click to See Complete Forum and Search --> : Showing Pictures


David Huertas
July 16th, 1999, 10:20 AM
Hello People. I´m developing a program and i just would like to show some saved pictures from the hard disk? How do I do that? Shall i transform it to a bitmap? Help.

David

Brian Budge
July 16th, 1999, 12:50 PM
Yes, I would load the images, convert them to bitmap and display - or if you have an API which would display the images in their current format, that would be okay too.

yosh scout
July 16th, 1999, 12:55 PM
im working on a simple program that requires me to replace bitmaps in one static control with other ones. like SEVEN to CHERRY. whats a good way to go about this? oh and they be in the resources.

Marina Vaillant
June 20th, 2000, 07:43 AM
Ok but we have to write the API, then, haven't we?

I have a gif picture with transparent backgroung. A friend told me that bitmaps can't have transparent background.

Then when I manage to have a stisfactory bitmap, I store it in the res directory? Add the file to the project? and it will appear in the Image dropdown box of the Properties dialog box of the control????

Marina

peterchen
June 20th, 2000, 08:18 AM
http://buerger.metropolis.de/bitbucket/controls/wndimg.html (grin)

peterchen
June 20th, 2000, 08:24 AM
Hi,
as long as they are bitmaps, it's already in windows, and since it gets asked often, I wrote a small MFC control (http://buerger.metropolis.de/bitbucket/controls/wndimg.html (third time today - it's bitmaps again?)

For others, like GIF and JPEG, some free libraries are out there. however, I haven't found one yet I could heartily suggest...

Good luck
Peter