Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Performance issue of large image node (Read 2024 times)
Kyle Chen
Full Member
***
Offline


I Love MindFusion!

Posts: 104
Joined: Nov 29th, 2012
Performance issue of large image node
Jul 18th, 2018 at 2:45am
Print Post  
Hello Slavcho,

I'm facing a performance issue for large image node. The nodes' image might be assigned with a 25000x3000 bitmap. And there's some obvious lag in node operation like mouse dragging or resizing. Any suggestion on this kind of application?

Thanks,

Kyle Chen
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3378
Joined: Oct 19th, 2005
Re: Performance issue of large image node
Reply #1 - Jul 18th, 2018 at 8:19am
Print Post  
Hi Kyle,

It's as fast as Graphics.DrawImage can process it. Do you actually need to display the large image in full size in a very large node? If not, you could create a thumbnail from the original image and assign the thumbnail to node.Image instead. Otherwise we could try to draw images using a clip region, it could possibly speed drawing up when the node is not displayed entirely on screen (e.g. not zoomed to fit or inside overview control).

Regards,
Slavcho
  
Back to top
 
IP Logged
 
Kyle Chen
Full Member
***
Offline


I Love MindFusion!

Posts: 104
Joined: Nov 29th, 2012
Re: Performance issue of large image node
Reply #2 - Jul 18th, 2018 at 1:52pm
Print Post  
Hi Slavcho,

Yes, I need to display the large image in full size and let use to resize the node.

Thanks,

Kyle


Slavcho wrote on Jul 18th, 2018 at 8:19am:
Hi Kyle,

It's as fast as Graphics.DrawImage can process it. Do you actually need to display the large image in full size in a very large node? If not, you could create a thumbnail from the original image and assign the thumbnail to node.Image instead. Otherwise we could try to draw images using a clip region, it could possibly speed drawing up when the node is not displayed entirely on screen (e.g. not zoomed to fit or inside overview control).

Regards,
Slavcho

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint