If Condition is True then TruePart is retured, otherwise FalsePart is returned.
function IffFormat(Condition: Boolean; const TruePart: TImageFormat; const FalsePart: TImageFormat): TImageFormat;
Imaging (at line 487)