ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Loading 1 bit colored bitmaps does not respect IOParams.NativePixelFormat
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Harald Lampke

Germany
3 Posts

Posted - Sep 14 2022 :  02:21:44  Show Profile  Reply
In version 11.3 the support for 1 bit colored bitmaps was introduced. This means that 1 bit bitmaps not having a b/w palette are converted to a 24 bit colorized bitmap (module bmpfilt.pas, procedure BMPReadStream). At this point I suggest to make an enhancement and to respect "IOParams.NativePixelFormat": If this flag is set to "true", the bitmap and the palette must not be converted and stay 1 bit with a colorized palette. Setting this flag would me enable to preserve my application's behaviour when loading 1 bit colored bitmaps.

xequte

7215 Posts

Posted - Sep 14 2022 :  21:25:28  Show Profile  Reply
Thanks for the suggestion, Harald,

I've added this to the current beta.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: