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
 ielib32.dll
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

egrobler

42 Posts

Posted - May 17 2014 :  04:14:13  Show Profile  Reply
Hi,

I am trying to compile ImageEn 5.1.1 to use ielib32.dll because I believe it should load images much faster.

I made the changes to ie.inc as specified in the readme file.
I recompiled my XE2 Dpk files, but my 32-bit app does not seem to require the dll.

What am I doing wrong and how can I verify that the dll is used?
And should IEUSEASM be enabled or disabled?
And should these lines be under the 64 bit related comment?

Thanks & Regards
Eric



//////////////////////////////////////////////////////////////
// 64 bit related
//////////////////////////////////////////////////////////////

// test  
{$undef IEUSEASM}
{$define IEUSEDLLJPEGLIB}
{$define IEUSEDLLPNGLIB}
{$define IEUSEDLLJPEG2000LIB}
{$define IEUSEDLLRAWLIB}

xequte

38514 Posts

Posted - May 19 2014 :  03:04:27  Show Profile  Reply
Hi Eric

The ImageEn installer adds an ielib32.dll to the Windows system path, so try removing that and then loading a JPEG.

You should not change the IEUSEASM define.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

egrobler

42 Posts

Posted - May 19 2014 :  13:56:32  Show Profile  Reply
Hi Nigel,

Thanks, I did not realize the dll was in my SysWOW64 folder.

What jpeg and png operations will see a big increase in performance?

And if the dll is missing I just get a white screen, is there a flag to raise an exception if the dll is not found?

Best Regards
Eric
Go to Top of Page

xequte

38514 Posts

Posted - May 19 2014 :  14:47:01  Show Profile  Reply
Hi

Loading and saving of JPEG, PNG and JPEG2000 images will be faster. Also lossless JPEG transformations.

You should get an exception when loading if the DLL is not found, but you can also use IELibAvailable (ievision.pas unit):

procedure TMainForm.FormShow(Sender: TObject);
begin
  if not IELibAvailable() = False then
    MessageDlg(format('The installation is incomplete. Please reinstall %s', [Application_Name]), mtError, [mbOK], 0);
end;






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