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
 Layers Rotate - Slow

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 - Jan 13 2016 : 20:31:05
Hello Nigel.

I'm Posting a video that features a Slow Problem with layers of Use.

1 - add an image.

2 - add one layer with an image.

3 - Now Rotate the second layer.

It is now very slow Use Zoom and Move Layer on the screen.

You can check this please?

Thank you so much

Source File Here.

procedure TForm1.BtnAddLayerClick(Sender: TObject);
var
 id: Integer;
begin
 id := imageEnView1.LayersAdd;
 //ImageEnView1.LayersRotationAntialias          := True;
 //ImageEnView1.LayersRotationFilter             := ierBilinear;
 //ImageEnView1.LayersRotationUseFilterOnPreview := True;
 //ImageEnView1.Layers[ id ].UseResampleFilter   := True;
 //ImageEnView1.Layers[ id ].ResampleFilter      := rfLanczos3;

 with ImageEnView1.IO do
  LoadFromFile( ExecuteOpenDialog( ) );
end;

procedure TForm1.btnLoadPictureClick(Sender: TObject);
begin
 with ImageEnView1.IO do
  LoadFromFile( ExecuteOpenDialog( ) );
end;

procedure TForm1.RadioGroup1Click(Sender: TObject);
begin
 case RadioGroup1.ItemIndex of
  0:
   begin
    ImageEnView1.MouseInteract := [];
   end;

  1:
   begin
    ImageEnView1.MouseInteract := [ miMoveLayers, miRotateLayers ];
   end;

 end;
end;


Video File.
attach/wesleybobato/2016113202930_Layers.zip
6590.96 KB
7   L A T E S T    R E P L I E S    (Newest First)
wesleybobato Posted - Jan 26 2016 : 07:12:39
Hi Nigel.

Thank you very much

Your work is Wonderful.

Best regards.
xequte Posted - Jan 25 2016 : 16:01:48
Hi Wesley

We have implemented a new method for displaying layers during rotation. It is much faster. Email me if you want to test it.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
wesleybobato Posted - Jan 18 2016 : 08:08:43
Hello Nigel

Thank you very much for answering.

Any improvement will be very welcome.
We Await News

Have a great Week.
xequte Posted - Jan 17 2016 : 20:15:16
Thanks, we'll investigate what improvements we can make there.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
DMC02766 Posted - Jan 15 2016 : 17:58:14
Im running into the same issue. Seems like images with a lot of detail are the troublesome ones on my end (I have an image with multiple fingerprint images on it that really slows it down). That troublesome image is only 300 dpi but I can rotate a single fingerprint image @ 1200 dpi with hardly any issue.
wesleybobato Posted - Jan 13 2016 : 22:56:56
Hello Nigel.

unfortunately this did not solve.

I do not use filter in my example.

I disabled everything I tried all methods and still remains slow.
consumes a lot of CPU resource.

I am sending you the two images to test.

Thank's for your attention

attach/wesleybobato/2016113225521_pictures.zip
4744.62 KB
xequte Posted - Jan 13 2016 : 22:11:28
Hi Wesley

Is it resolved if you set:

ImageEnView1.LayersRotationDelayFilterOnPreview := true;

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