• Welcome to Vampyre Imaging Library Forum. Please login or sign up.
 

ifBinary save bmp Problem

Started by sikale, 22 November 2012, 04:58:38

Previous topic - Next topic

sikale

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?

Galfar

Saving of ifBinary files is currently supported only for TIFF and PNG file formats.

sikale

Thank you very much for your reply!

SMF spam blocked by CleanTalk