F
Frank
Is there and easy way to read .bmp files in native C++?
How about .jpg files?
Thanks in advance
How about .jpg files?
Thanks in advance
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Is there and easy way to read .bmp files in native C++?
How about .jpg files?
Jochen Kalmbach said:Hi Frank!
How about "fopen / fread"!?
Or even "CreateFile / ReadFile"?
--
Greetings
Jochen
My blog about Win32 and .NET
http://blog.kalmbachnet.de/
Is there and easy way to read .bmp files in native C++?
How about .jpg files?
How would I display that?
Is there and easy way to read .bmp files in native C++?
How about .jpg files?
r norman said:Oh, that is a different question. You should have asked that the
first time!
What do mean by "native C++". Do you mean you have to write you own
code pixel by pixel? You can't display anything on a screen in
"native C++" without using somebodies library routines and there are
numerous jpg and bmp display libraries available that you can call
from native C++.
Jochen Kalmbach said:Hi Frank!
Or are you looking for something like
- LoadImage (at least for BMP)
- OleLoadPicture / OleCreatePictureIndirect
- GDI+: Bitmap::FromFile
?
See also several examples on codeproject...
--
Greetings
Jochen
My blog about Win32 and .NET
http://blog.kalmbachnet.de/
Nathan Mates said:Read/write? Try http://openil.sourceforge.net . Displaying is
another matter, because C/C++ doesn't have graphics as part of the
language. You'll need to find a different library that does that.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.