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
 Zoomfiler vs BlackValue/WhiteValue
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Ronald

Netherlands
17 Posts

Posted - Dec 21 2012 :  12:47:51  Show Profile  Reply
Hello,

Our app displays images with NativePixelformat set to true. We implemented window/level functionality via setting whitevalue/blackvalue properties of IEbitmap. Works OK, except if a zoomfilter is active. Then setting blackvalue/whitevalue has no effect.

Will this be changed in the foreseeable future, or is this something we have to live with?

Regards, Ronald

fab

1310 Posts

Posted - Jan 02 2013 :  16:03:04  Show Profile  Reply
Hello,
this is a known problem. Please wait next release for a fix.
You can also fix it opening hyieutils.pas, inside method "TIEBitmap.RenderToTIEBitmap", locate:

ietmp2.RenderToTIEBitmap(.....

Just before above line insert following code:

ietmp2.BlackValue := fBlackValue;
ietmp2.WhiteValue := fWhiteValue;
Go to Top of Page

Ronald

Netherlands
17 Posts

Posted - Jan 13 2013 :  14:01:10  Show Profile  Reply
Thanks, works fine!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: