Click here to Skip to main content
15,922,894 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: worker thread model in c++ Pin
Vincen Wang8-Sep-08 22:34
Vincen Wang8-Sep-08 22:34 
QuestionRe: worker thread model in c++ Pin
an899-Sep-08 0:54
an899-Sep-08 0:54 
Questionwhat happened when CImage load a 16-bit BMP file Pin
fitatc7-Sep-08 22:33
fitatc7-Sep-08 22:33 
AnswerRe: what happened when CImage load a 16-bit BMP file Pin
Mark Salsbery8-Sep-08 6:19
Mark Salsbery8-Sep-08 6:19 
GeneralRe: what happened when CImage load a 16-bit BMP file Pin
fitatc8-Sep-08 14:33
fitatc8-Sep-08 14:33 
GeneralRe: what happened when CImage load a 16-bit BMP file Pin
Mark Salsbery9-Sep-08 4:54
Mark Salsbery9-Sep-08 4:54 
GeneralRe: what happened when CImage load a 16-bit BMP file Pin
fitatc9-Sep-08 21:18
fitatc9-Sep-08 21:18 
GeneralRe: what happened when CImage load a 16-bit BMP file Pin
Mark Salsbery10-Sep-08 4:46
Mark Salsbery10-Sep-08 4:46 
fitatc wrote:
Others in MSDN forum advised me not to use CImage


CImage just wraps a DIBSection and uses GDI+ for loading
and saving images. If that's what you need it can be used
for anything DIBsection-related, not just for display.


fitatc wrote:
is it possible that Cimage class change the "BI_BITFIELDS compressed 16-bit bmp"
to "uncompressed 32-bit bmp" in CImage::load?


It's possible, but I don't know why it would be changed.

Run it in the debugger and step into the CImage::Load() code.
I did, and it looks like it is possible (in
CImage::CreateFromGdiplusBitmap()) to be converted to a
32bpp bitmap but that code is bypassed.


This shouldn't be OS related - GDI+ didn't change for years
before Vista.

It could be the version of CImage you're using however.
What Visual Studio version are you using?

Step into the code - it doesn't change magically Smile | :)

Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: what happened when CImage load a 16-bit BMP file Pin
fitatc10-Sep-08 17:07
fitatc10-Sep-08 17:07 
GeneralRe: what happened when CImage load a 16-bit BMP file Pin
Mark Salsbery11-Sep-08 4:25
Mark Salsbery11-Sep-08 4:25 
GeneralRe: what happened when CImage load a 16-bit BMP file Pin
fitatc11-Sep-08 18:09
fitatc11-Sep-08 18:09 
GeneralRe: what happened when CImage load a 16-bit BMP file Pin
Mark Salsbery12-Sep-08 4:59
Mark Salsbery12-Sep-08 4:59 
GeneralRe: what happened when CImage load a 16-bit BMP file Pin
Mark Salsbery12-Sep-08 5:01
Mark Salsbery12-Sep-08 5:01 
QuestionPostMessage() function Pin
Dhiraj kumar Saini7-Sep-08 21:57
Dhiraj kumar Saini7-Sep-08 21:57 
AnswerRe: PostMessage() function Pin
_AnsHUMAN_ 7-Sep-08 22:01
_AnsHUMAN_ 7-Sep-08 22:01 
GeneralRe: PostMessage() function Pin
Dhiraj kumar Saini7-Sep-08 22:46
Dhiraj kumar Saini7-Sep-08 22:46 
GeneralRe: PostMessage() function Pin
CPallini7-Sep-08 22:51
mveCPallini7-Sep-08 22:51 
AnswerRe: PostMessage() function Pin
CPallini7-Sep-08 22:39
mveCPallini7-Sep-08 22:39 
GeneralRe: PostMessage() function Pin
Dhiraj kumar Saini7-Sep-08 23:18
Dhiraj kumar Saini7-Sep-08 23:18 
GeneralRe: PostMessage() function Pin
CPallini7-Sep-08 23:26
mveCPallini7-Sep-08 23:26 
QuestionAbout Graphics::RotateTransform()???? Pin
TooShy2Talk7-Sep-08 21:32
TooShy2Talk7-Sep-08 21:32 
AnswerRe: About Graphics::RotateTransform()???? Pin
CPallini7-Sep-08 21:37
mveCPallini7-Sep-08 21:37 
QuestionRe: About Graphics::RotateTransform()???? Pin
TooShy2Talk7-Sep-08 21:57
TooShy2Talk7-Sep-08 21:57 
AnswerRe: About Graphics::RotateTransform()???? Pin
SandipG 7-Sep-08 22:00
SandipG 7-Sep-08 22:00 
QuestionRe: About Graphics::RotateTransform()???? Pin
TooShy2Talk7-Sep-08 22:45
TooShy2Talk7-Sep-08 22:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.