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
 Loading images faster. is possible?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

wesleybobato

Brazil
367 Posts

Posted - Jul 14 2013 :  12:37:02  Show Profile  Reply
Hello Fabrizio I have a question.

Here at the company we use ImageEN 50 Computers for all image work, our main job is to load the image through imageEN, however charging compared to Google Picasa Photo Viewer and Windows 7 is a bit lower then I added support the use ielib.dll but ievision.dll improved about 30%, as you said that using ielib.dll image loading is 30% faster.

my question is the following is possible ielib.dll be even faster?

because we carry about 1,000 images a day for each one of the 50 computers and people to present the image however is still slow to load

you have plans of make this more fast?

will be that Direct2D or GDI + would not be a solution to this?

Thank you for your attention.

wesleybobato

Brazil
367 Posts

Posted - Jul 14 2013 :  12:53:30  Show Profile  Reply
or maybe the support for technologies such as SSE processors
http://en.wikipedia.org/wiki/Streaming_SIMD_Extensions
Go to Top of Page

fab

1310 Posts

Posted - Jul 17 2013 :  12:53:57  Show Profile  Reply
SSE and other SIMD extensions are already used, as code optimization, into ielib.dll and ievision.dll. Future optimization will include GPU support. Of course this is a long and slow way...
Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - Jul 18 2013 :  13:34:42  Show Profile  Reply
Hello Fabrizio I understand Smoothly Friend.

We add new features we requests, what do you think of the users pay for claims, there you can hire more employees and requests are answered faster.

eg I have a hard time even with printing entire page like the print wizard windows William helped me but unfortunately still does not work 100% in all photographic Network.

Good afternoon.
Go to Top of Page

w2m

USA
1990 Posts

Posted - Jul 18 2013 :  16:48:57  Show Profile  Reply
If you load an image with
iIEBitmap.IELoadFromFileFast(iFilename, iMaxX, iMaxY, False);

in a thread, the image loads in a few milliseconds. Delphi 2010 or higher is required however because older compilers do not support TTHread.Syncronize.Procedure.

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - May 19 2014 :  06:03:20  Show Profile  Reply
Hello Nigel and Fabrizio.
I found a link that might help you.
Load JPEG with Great Resolution Using GPU.
The code is in C + +

http://developer.amd.com/resources/documentation-articles/articles-whitepapers/jpeg-decoding-with-run-length-encoding-a-cpu-and-gpu-approach/

Thank you.
Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - Jul 06 2014 :  12:45:21  Show Profile  Reply
fab
=================================================================================
SSE and other SIMD extensions are already used, as code optimization, into ielib.dll and ievision.dll. Future optimization will include GPU support. Of course this is a long and slow way...
=================================================================================

Hello Fabrizio

Any news about the inclusion of using GPU for JPEG or RAW?

Thanks For Attention
Go to Top of Page

xequte

38514 Posts

Posted - Jul 07 2014 :  21:44:33  Show Profile  Reply
Hi

Our support for GPU based enhancements are ongoing. Though specific GPU improvement to JPEG and RAW loading is not on the cards for the near future.

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

daansi

Netherlands
6 Posts

Posted - Mar 11 2015 :  15:38:36  Show Profile  Reply
When I use this code

ImageEnView_1.IO.Bitmap.IELoadFromFileFast(aFileName,ImageEnView_1.Width,ImageEnView_1.Height,True);

The Image becomes visible only when I click on the Image.
What is needed to show the image automatically?!
Go to Top of Page

w2m

USA
1990 Posts

Posted - Mar 11 2015 :  16:12:38  Show Profile  Reply
You should not have to do anything, but you could try ImageEnView.Update after loading the image.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

xequte

38514 Posts

Posted - Mar 11 2015 :  18:34:55  Show Profile  Reply
That's odd. What is the value of LockPaintCount and LockUpdateCount?

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

daansi

Netherlands
6 Posts

Posted - Mar 12 2015 :  05:14:32  Show Profile  Reply
showmessage(inttostr(ImageEnView_1.LockPaintCount));

Shows '0'

The ImageEnView component resides on Manualdocked Form in a DevExpress Pagecontrol.

I will try to reproduce it on a plane Form as well and let you know.

Regards,

Daan Deenik
Go to Top of Page

w2m

USA
1990 Posts

Posted - Mar 12 2015 :  05:42:19  Show Profile  Reply
I have used it in a dx dock on a dx pagecontrol and it does not act this way.
Go to Top of Page

daansi

Netherlands
6 Posts

Posted - May 24 2015 :  06:07:49  Show Profile  Reply
Adding LockPaint and UnlockPaint solved this litle quirk...

ImageEnView_1.LockPaint;
Bitmap.IELoadFromFileFast(aFileName,ImageEnView_1.Width,ImageEnView_1.Height,True);

ImageEnView_1.UnLockPaint;
Go to Top of Page

xequte

38514 Posts

Posted - May 24 2015 :  20:03:50  Show Profile  Reply
Sorry, I did not notice that you were calling:

ImageEnView1.Bitmap.IELoadFromFileFast(aFileName, ImageEnView1.Width, ImageEnView1.Height, True);


Which is modifying the bitmap directly (so update is needed). You should call:


ImageEnView1.IO.LoadFromFileFast(aFileName, ImageEnView1.Width, ImageEnView1.Height, True);


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: