• 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


Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Name:
Email:

Shortcuts: ALT+S save/post or ALT+P preview

SMF spam blocked by CleanTalk