Archived

This topic is now archived and is closed to further replies.

CRRouse

Saving Bmps without looking at them in VB

Recommended Posts

Working on a tool to chop large maps into smaller pieces. The process goes something like this: Load the large bmp into memory; create a compatible bitmap in memory, smaller in size (using the windows API); blt the approprite chunk of the big bmp into the small bmp. Now comes the problem. I want to save the bmp, but there seems to be no API for doing this. This is all being done in VB too. The only way I know of to save a bmp is via a picture box & that won''t really work in this case

Share this post


Link to post
Share on other sites
The answer I found, in case anyone else ever needs to know is in the use of the API call

OleCreatePictureIndirect()

Share this post


Link to post
Share on other sites