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
 IELIB.DLL x WIC Speed

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
wesleybobato Posted - Mar 14 2015 : 18:31:07
Hello Nigel.

You reported that IELib.dll been optimized, but I did several tests
and unfortunately the speed remains the same.

Including WIC with ImageEN is 2x FASTER than LoadFromFile with IELIB.dll

you can do something about it please?

Have a Great Day

uses DateUtils, iewic, imageenio;

{$R *.dfm}

procedure TForm5.Button1Click(Sender: TObject);
var
 fStart: Cardinal;
begin
 fStart := GetTickCount;
 ImageEnView1.IO.LoadFromFile('01.jpg');
 ShowMessage(FormatDateTime('hh:nn:ss.zzz', (GetTickCount - FStart) * OneMillisecond));
end;

procedure TForm5.Button2Click(Sender: TObject);
var
 fStart: Cardinal;
begin
 fStart := GetTickCount;
 with TIEWICReader.Create do
  begin
   Open('01.jpg', ioJPEG);
   GetFrame(0, ImageEnView1.IEBitmap, ImageEnView1.IO.Params);
   Free;
 end;

 ImageEnView1.Update;
 ShowMessage(FormatDateTime('hh:nn:ss.zzz', (GetTickCount - FStart) * OneMillisecond)); 
end;


attach/wesleybobato/2015314183010_WICxIELIB.DLL.zip
6006.22 KB
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Mar 17 2015 : 23:59:51
Hi Wesley

We will investigate some way that we can speed up loading by use of WIC when metadata is not required.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
wesleybobato Posted - Mar 16 2015 : 07:30:50
Hello Nigel.

Now I understand why WIC is Faster than ielib.dll
is possible with imageEN load images without EXIF and Metadata?

because with this parameter will optimize the speed.

Have a Wonderful Day
xequte Posted - Mar 15 2015 : 19:57:42
Hi Wesley

IELib is more optimized than the native Delphi code. V6.0.0 loading is no faster than V5.2.0.

I am investigating the WIC loading speed. Naturally WIC is not doing some of things that ImageEn is (e.g. loading EXIF and other meta data) and doesn't provide some of the other speed enhancement option such ioJPEG_AUTOCALC. Still the speed improvement is significant...


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com