Excuse me,Ask a question ;)
var
img: TImageData;
begin
Imaging.InitImage(img);
Imaging.NewImage(512,512,ifBinary, img);
Imaging.SaveImageToFile('Test.bmp', img);
Imaging.FreeImage(img);
end;
the result 'Test.bmp' is ifR8G8B8
Can not save a black-and-white image of Binary format?
Saving of ifBinary files is currently supported only for TIFF and PNG file formats.
Thank you very much for your reply!