Vampyre Imaging Library Forum

Imaging Category => Help & Questions => Topic started by: sikale on 22 November 2012, 04:58:38

Title: ifBinary save bmp Problem
Post by: sikale on 22 November 2012, 04:58:38
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?
Title: Re: ifBinary save bmp Problem
Post by: Galfar on 30 November 2012, 00:40:38
Saving of ifBinary files is currently supported only for TIFF and PNG file formats.
Title: Re: ifBinary save bmp Problem
Post by: sikale on 3 December 2012, 07:00:37
Thank you very much for your reply!