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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Loading 1 bit colored bitmaps does not respect IOParams.NativePixelFormat

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Harald Lampke Posted - Sep 14 2022 : 02:21:44
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.
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Sep 14 2022 : 21:25:28
Thanks for the suggestion, Harald,

I've added this to the current beta.

Nigel
Xequte Software
www.imageen.com