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
 Thread activity

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
Atys Posted - Aug 18 2022 : 10:14:31
Hi there,

I've downloaded the trial version to test it in multithreaded environment where TBitmap is a no go.
For now I'm creating a TImageEnView, load a jpg call ev.Proc.Resample() on it and I can see threads are firing up and exiting in the messages window. I have no source code and I did not find anything in the help, every Async* property I found is set to false, how can I disable this behavior?


Edit: haha, just got an AV from the gdiplus.dll. I'm sure the threads are coming from there. :/


Regards,

Attila

1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Aug 19 2022 : 00:31:10
Hi Attila

Some drawing options for TImageEnView use GDI+, but you can disable it using:

IEGlobalSettings().UseGDIPlus := False;

Though, this is not a recommended behavior, because ImageEn makes extensive use of GDI+ for performance and other reasons.

However, by default, TImageEnView should NOT be using GDI+ (unless specific canvas related activities are performed). Though, we have found an issue in the current version issue where GDI+ is unnecessarily initialized. We have fixed this for the upcoming release.



Nigel
Xequte Software
www.imageen.com