iFlags

Possible values are:

Value

Meaning

SIZE_NORMAL

Use the normal resizing method.

SIZE_RESAMPLE

Resize the bitmap, using interpolation and averaging to produce a higher-quality image than is achieved with normal resizing.

SIZE_FAVORBLACK

(Document/Medical only) Preserve black objects when making the image smaller. This option affects only 1-bit, black-and-white images, where it prevents the disappearance of thin lines. You can use a plus (+) operator to combine this flag with another one. For example, SIZE_RESAMPLE Or SIZE_FAVORBLACK causes color images to be resampled, but applies the favor-black option to 1-bit, black-and-white images.