Author |
Topic |
|
xequte
38582 Posts |
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 |
|
jed
Australia
10 Posts |
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? |
|
|
xequte
38582 Posts |
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
|
|
|
Uwe
284 Posts |
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 |
|
|
fab
1310 Posts |
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
284 Posts |
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
1310 Posts |
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
284 Posts |
Posted - Nov 03 2012 : 15:19:12
|
Hi Fabrizio
Thank you so much for your feedback! I really appreciate your honesty.
Uwe |
|
|
Patrick Quinn
United Kingdom
81 Posts |
Posted - Nov 07 2012 : 16:38:15
|
I'm testing this now...
regards
Patrick |
|
|
jed
Australia
10 Posts |
Posted - Nov 07 2012 : 16:39:15
|
Let us know if you notice improvement in performance. |
|
|
Patrick Quinn
United Kingdom
81 Posts |
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
Australia
10 Posts |
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
United Kingdom
81 Posts |
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 |
|
|
liaotingaa
China
7 Posts |
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. |
|
|
xequte
38582 Posts |
|
Uwe
284 Posts |
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
38582 Posts |
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
284 Posts |
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 |
|
|
mhieta
Finland
78 Posts |
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 |
|
|
xequte
38582 Posts |
|
|
Topic |
|