ImageEn, unit imageenproc

TImageEnProc.AutoConvertFormat

TImageEnProc.AutoConvertFormat

Declaration

property AutoConvertFormat: Boolean;

Description

When true, all image processing functions automatically convert the pixel format as required.
For example, The AddInnerShadow method requires an ieRGB24 pixel format. If your image is black & white, or any other format, it is converted automatically to ieRGB24.
If AutoConvertFormat = False and you call AutoConvertFormat with a black & white image, then the method will silently fail.

Default: True