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
 V4.1.4: DLL to speed up file loading

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
xequte Posted - Oct 23 2012 : 13:32:30
Hi

ImageEn v4.1.4 includes a beta of our new loading DLL, ielib32.dll. This optional library provides no functionality other than that included in the native ImageEn libraries, however due to optimized compilation you will find file loading is approximately 30% faster with it.

To use ielib32.dll you will need to edit ie.inc and change:

{.$define IEUSEDLLJPEGLIB}
{.$define IEUSEDLLPNGLIB}
{.$define IEUSEDLLJPEG2000LIB}
{.$define IEUSEDLLRAWLIB}

To

{$define IEUSEDLLJPEGLIB}
{$define IEUSEDLLPNGLIB}
{$define IEUSEDLLJPEG2000LIB}
{$define IEUSEDLLRAWLIB}

You will then need to recompile your packages. Naturally you will need to ship ielib32.dll with your application. Ideally this should be placed in the same folder as your EXE, but it can also be located on the system path.

Note: Delphi/BCB 5 and 6 are not supported


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
19   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jan 16 2013 : 13:11:39

NOTE: In newer versions of ImageEn you can just use:

https://www.imageen.com/help/TIEGlobalSettings.JPEGEngine.html
https://www.imageen.com/help/TIEGlobalSettings.PNGEngine.html
https://www.imageen.com/help/TIEGlobalSettings.JPEG2000Engine.html
https://www.imageen.com/help/TIEGlobalSettings.CameraRawEngine.html




Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
mhieta Posted - Nov 13 2012 : 12:48:09
Yes Uwe, its harder to find clues and provide workaround when there is no source. :)

Anyway its beta lib so it will improve :) I hope that they improve also tiff image loading.


- Marko
Uwe Posted - Nov 10 2012 : 13:28:24
Hi Nigel

Glad to see that I was able to bring my point across and that you've finally decided to make at least the 64bit DLL source available to your paying customers.

I will contact you in a separate e-mail for a download link.

Thanks
Uwe
xequte Posted - Nov 10 2012 : 02:41:51
Hi Uwe

I was referring to the optional 32bit DLL (as that is the subject of this thread), naturally for the 64bit DLL source will be available if requested. However compilation of DLL is quite complex and not something we recommend for users.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Uwe Posted - Nov 09 2012 : 09:25:04
quote:
Patrick said: This new DLL is a very welcome update.

I agree, but only if the source code will be made available. Otherwise it's definitely a step backwards in the development of ImageEn.

Uwe
xequte Posted - Nov 09 2012 : 00:35:25
Hi

Use of the DLL should not affect loading of large images. For loading of large images ensure use TIEBitmap.Location := ieFile

http://www.imageen.com/help/TIEBitmap.Location.html

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
liaotingaa Posted - Nov 08 2012 : 23:55:55
Hi
Dose it support for the huge tiff file processing(eg: 14173pixel x 10630pixel,300dpi x 300dpi,24bit)? we have a tiff file of 431MB.Thank you very much.
Thanks for your time.
Patrick Quinn Posted - Nov 08 2012 : 15:32:42
Hi jed
I do apply resampling, a rfBilinear Zoomfilter on a preview image above the thumbnails and a rfLanczos3 on a full screen image (no particular reason for using these, I will make them user selectable later).

I assume loading png files from a database stream will be 30% faster as well.
I've already been using ImageEn to stream images in png format to and from the very fast Absolute Database (a BDE replacement: http://www.componentace.com/absolute_database_features.htm ).

This new DLL is a very welcome update.

regards

Patrick
jed Posted - Nov 07 2012 : 16:48:20
Patrick,

Are you applying any resampling on the images loaded? I use the thumb viewer and resample the thumbs (quality selected by the user).

I guess I should just bite the bullet and see!

Means I now need to modify three installers to distribute a new file.
Patrick Quinn Posted - Nov 07 2012 : 16:44:48
@jed

I just edited previous post as you posted that. I haven't timed it but loading is noticeably faster, especially on large jpegs. Impressive.

Well worth doing.
jed Posted - Nov 07 2012 : 16:39:15
Let us know if you notice improvement in performance.
Patrick Quinn Posted - Nov 07 2012 : 16:38:15
I'm testing this now...

regards

Patrick
Uwe Posted - Nov 03 2012 : 15:19:12
Hi Fabrizio

Thank you so much for your feedback! I really appreciate your honesty.

Uwe
fab Posted - Nov 03 2012 : 13:58:23
Uwe,

quote:
If they include Dcraw as you say, don't you have to provide the DLL code if it contains restricted functions according to the Dcraw licence?


dcraw included in ielib.dll doesn't use restricted code (GPL code). This DLL is just a wrapper over dcraw, jpeg lib, png lib, etc.

quote:
Anyway, I really hope that the source will be available at a later point in time when ImageEn 4.1.4 has left the beta phase. And I would certainly like to assume that you will *not* go down the path and start selling ImageEn without providing the source for important parts of the library. Can you please elaborate on the latter?


I understand your point of view (and I agree with you). Anyway at the moment I don't know if DLL code will be available.
Specific needs are taken into account.
Uwe Posted - Oct 28 2012 : 10:37:43
Hi Fabrizio

Thanks for the information; appreciate it. Although I see one potential issue here: where is the source for the DLL's? If they include Dcraw as you say, don't you have to provide the DLL code if it contains restricted functions according to the Dcraw licence?

Anyway, I really hope that the source will be available at a later point in time when ImageEn 4.1.4 has left the beta phase. And I would certainly like to assume that you will *not* go down the path and start selling ImageEn without providing the source for important parts of the library. Can you please elaborate on the latter?

Thanks
Uwe
fab Posted - Oct 28 2012 : 00:09:28
Hi Uwe,

quote:
Does this include DCRAW support? Is the source code for ielib32.dll available? Will there be a 64bit version of dcrawlib.dll?


Yes, it includes DCRAW support. Actually ielib32.dll (and ielib64.dll) includes dcrawlib.
Consider 64 bit dcrawlib in ielib64.dll.
Uwe Posted - Oct 24 2012 : 07:53:22
Hi Nigel


{$define IEUSEDLLRAWLIB}

^^
Does this include DCRAW support? Is the source code for ielib32.dll available? Will there be a 64bit version of dcrawlib.dll?

So many questions... ;)

Thx
Uwe
xequte Posted - Oct 23 2012 : 23:54:07
Any loading of JPEG or PNG files will be faster, whether it is for image display or thumbnails.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
jed Posted - Oct 23 2012 : 15:54:28
Is the 30% across the board, or is it just for larger files? Is the improvement transferred to the thumbnail viewer as well?