iFlags

Flags that control the behavior of the process. Possible values are given below. These values can be combined using OR (|) or +.

Value

Meaning

PICTURIZE_LOADALL

[0x0001] Load all files in memory.

PICTURIZE_RESIZE

[0x0002] Resize all images that are not the required size (fCellWidth x fCellHeight).

PICTURIZE_RESAMPLE

[0x0004] Resample the images that are not the required size (fCellWidth x fCellHeight). (slower process, better quality)

PICTURIZE_ONCE

[0x0010] Use an image only once throughout the process.

PICTURIZE_EQUALUSAGE

[0x0020] Use all images equally. That is, before an image will be used twice, all other images must be used at least once.

PICTURIZE_BESTFIT

[0x0040] Images will be resized to fit the image if the bitmap width or height is not a multiple of nCellWidth/nCellHeight.

0

The picturize process will not use any of the above flags. It will: reload all the files each time you look for a rectangle to substitute and ignore all the images present in pszDirectory if their size is not fCellWidth x fCellHeight