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
 Different background settings?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

860 Posts

Posted - Apr 04 2021 :  08:50:59  Show Profile  Reply
Currently, TImageEnView.BackgroundStyle and BackgroundColors affect BOTH:
• the area BEHIND the image
• and the area AROUND the image

Is it possible to have SEPARATE background settings for each of both areas?

That would be very useful!

This concerns images where some parts of the image are transparent: In such a case I want to see a chessboard pattern for the transparent areas of the image and a solid color AROUND the image.

So when loading an image containing transparent areas I could set ImageEnView1.SetChessboardStyle, since loading any image apparently resets a previous setting created with SetChessboardStyle.

xequte

38180 Posts

Posted - Apr 05 2021 :  23:18:19  Show Profile  Reply
This is true. I'll look at this for a later version.


Nigel
Xequte Software
www.imageen.com
Go to Top of Page

xequte

38180 Posts

Posted - May 12 2022 :  01:37:33  Show Profile  Reply
This will be supported in the next release:

ImageEnView1.BackgroundOuter  := clBtnFace;
ImageEnView1.BackgroundStyle  := iebsChessboard;
ImageEnView1.Background       := clWhite;
ImageEnView1.BackgroundColor2 := clSilver;




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