CImage to HDIB

Document Imaging SDK,
Image SDK,
Annotation SDK,
Cover Page Generator

Moderator: Technical Support Team

Post Reply
Posts: 2
Joined: Thu Oct 20, 2011 8:32 am

CImage to HDIB

Post by eldiener » Thu Oct 20, 2011 8:44 am

The BlackIce functionality works with DIBs. I have an in-memory image in the form of a CImage which is a DIB section.

Can I pass the handle of the CImage to BlackIce functionality expecting a DIB ?
Or should I use CopyImage(myCimage,IMAGE_BITMAP,0,0,LR_CREATEDIBSECTION) to pass the DIB handle ?

Post Reply