Author Topic: ifBinary save bmp Problem  (Read 1316 times)

Offline sikale

  • Imaging User
  • *
  • Posts: 6
    • View Profile
ifBinary save bmp Problem
« on: 22 November 2012, 04:58:38 »
Excuse me,Ask a question ;)
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?

Offline Galfar

  • Administrator
  • Imaging User
  • *****
  • Posts: 351
    • View Profile
    • Galfar's Homepage
Re: ifBinary save bmp Problem
« Reply #1 on: 30 November 2012, 00:40:38 »
Saving of ifBinary files is currently supported only for TIFF and PNG file formats.

Offline sikale

  • Imaging User
  • *
  • Posts: 6
    • View Profile
Re: ifBinary save bmp Problem
« Reply #2 on: 3 December 2012, 07:00:37 »
Thank you very much for your reply!