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
 ielib32.dll

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
egrobler Posted - May 17 2014 : 04:14:13
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}
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - May 19 2014 : 14:47:01
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
egrobler Posted - May 19 2014 : 13:56:32
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
xequte Posted - May 19 2014 : 03:04:27
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