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
 .Proc.DoPreviews dialog suggestions
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

951 Posts

Posted - Feb 09 2025 :  12:18:06  Show Profile  Reply
// Prompt user to perform color adjustment effects when an Image Layer is selected works beautifully:
var Executed := ImageEnView1.Proc.DoPreviews( ppeColorAdjustments );

// Prompt user to perform color adjustment effects when a Shape Layer is selected CRASHES the App in some cases:
var Executed := ImageEnView1.Proc.DoPreviews( ppeColorAdjustments );


Here is the stack:



Since the user doesn't want to get a university diploma about which layer types he can edit with which preview dialog, a feature should automatically prevent such incompatibilities by not opening ppeColorAdjustments with a Shape layer. That would be very user-friendly!

xequte

38798 Posts

Posted - Feb 09 2025 :  18:56:00  Show Profile  Reply
Hi

For non-image layers, you should get the exception, "Active layer does not contain bitmap" when you try to display *any* Previews.

What sort of crash are you seeing?

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