How to check image type using resource ID?

  • Thread starter Thread starter Yan Yang
  • Start date Start date
Y

Yan Yang

Guest
I need to check image type before calling different functions to load images, the image can be either BITMAP or GIF, which are defined in the code below.

IDB_THICKNESSXY GIF "ThicknessXY_test.gif"
IDB_THICKNESSZ BITMAP "ThicknessZ.bmp

Could you please let me know how to check the image type using the resource ID?

Thanks in advance.

Continue reading...
 
Back
Top