CImage::CImage
Constructs a CImage object.
CImage( ) throw( );
Remarks
Once you have constructed the object, call Create, Load, LoadFromResource, or Attach to attach a bitmap to the object.
Note In Visual Studio, this class keeps a count of the number of CImage objects created. Whenever the count goes to 0, the function GdiplusShutdown is automatically called to release resources used by GDI+. This ensures that any CImage objects created directly or indirectly by DLLs are always destroyed properly and that GdiplusShutdown is not called from DllMain.
Using global CImage objects in a DLL is not recommended. If you need to use a global CImage object in a DLL, call CImage::ReleaseGDIPlus to explicitly release resources used by GDI+.
Requirements
Header: atlimage.h