Hi,
You can use:
1. Capesoft Draw
2. CalrionFreeImage
3. ImageEx
They have examples of how to do it.
If you already own draw use it, if not i'd suggest ClarionFreeImage. If you already own ImageEx you could use it, however it is not thread safe and will need to be wrapped in a critical section.
Regards
Bill