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
 .Proc.DoPreviews dialog suggestions

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
PeterPanino Posted - Feb 09 2025 : 12:18:06
// 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!
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Feb 09 2025 : 18:56:00
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