Advertisement

Saving Bmps without looking at them in VB

Started by June 20, 2001 04:28 PM
0 comments, last by CRRouse 23 years, 7 months ago
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
The answer I found, in case anyone else ever needs to know is in the use of the API call

OleCreatePictureIndirect()

This topic is closed to new replies.

Advertisement