Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Resizing Image node issue (Read 2408 times)
Kyle Chen
Full Member
***
Offline


I Love MindFusion!

Posts: 104
Joined: Nov 29th, 2012
Resizing Image node issue
Jun 25th, 2013 at 3:18pm
Print Post  
Hi Stoyan,

I recently had a issue in resizing a node with an Image. When enlarging it by dragging on left center handle, the image will have a missing block on the right - just not drawing like clipped out. I'm recreating the image dynamically and update it to node in NodeModifying event.

However there's no problem when enlarging with right center handle. Will you please look into it? Thanks.

I attached a screenshot here.

Kyle
  

Resize_LeftCenter.png (Attachment deleted)
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Resizing Image node issue
Reply #1 - Jun 25th, 2013 at 3:46pm
Print Post  
Quote:
I'm recreating the image dynamically and update it to node in NodeModifying event


Are you sure you aren't missing setting the right-side pixels when recreating that image? If that's a standard ShapeNode, also check if ImageAlign isn't set to one of the *Left values.
  
Back to top
 
IP Logged
 
Kyle Chen
Full Member
***
Offline


I Love MindFusion!

Posts: 104
Joined: Nov 29th, 2012
Re: Resizing Image node issue
Reply #2 - Jun 25th, 2013 at 7:07pm
Print Post  
Yes, I'm sure the whole bitmap created. I'm using the e.Node.Bounds.Size to generate result bitmap. And I was set to TopLeft. And I just tested, when I set to Fit, it still the same. Only left dragging clip the image(kept only the same width of image - looks like some image buffer?)

Thanks.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Resizing Image node issue
Reply #3 - Jun 26th, 2013 at 7:14am
Print Post  
Please attach a test project that shows the problem.
  
Back to top
 
IP Logged
 
Kyle Chen
Full Member
***
Offline


I Love MindFusion!

Posts: 104
Joined: Nov 29th, 2012
Re: Resizing Image node issue
Reply #4 - Jun 26th, 2013 at 2:58pm
Print Post  
Stoyo wrote on Jun 26th, 2013 at 7:14am:
Please attach a test project that shows the problem.


Hi Stoyan,

When I prepare the project for you. I found it's my problem. I did the clip at some special case. Sorry for that and thank you for your time! Respect your confidence to your product.

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