Excuse me,Ask a question ;)
the result 'Test.bmp' is ifR8G8B8
Can not save a black-and-white image of Binary format?
Code Select
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?