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
 Thread activity
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Atys

1 Posts

Posted - Aug 18 2022 :  10:14:31  Show Profile  Reply
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

xequte

38198 Posts

Posted - Aug 19 2022 :  00:31:10  Show Profile  Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: