Defines

Bitmap Close Types

Defines

#define  BMM_CLOSE_COMPLETE   0
  Close and save the image.
#define  BMM_CLOSE_ABANDON   1
  Many bitmap loader / savers do not make use of these flags.

Define Documentation

#define BMM_CLOSE_COMPLETE   0

Close and save the image.

#define BMM_CLOSE_ABANDON   1

Many bitmap loader / savers do not make use of these flags.

An example of one that does is the FLC saver. When a FLC file is closed, it goes through each image and calculates the palette. This can take a long time. If the user cancels the operation they will not want to wait for this to happen. Thus this flag is passed to indicate that the user has canceled and this processing should not occur. Close but abandon the image.