ErikTheRed Posted March 7, 2011 Report Share Posted March 7, 2011 Hi all, this is my first time posting and I'm looking for some advice on how to scale and superimpose two images into one picture control. The behavior that I'm looking for is shown below. The first figure is the two images (imagine that they're different images instead of the same image scaled at these two different sizes). The next image is the desired output. Both images have been rescaled to the same (smaller) size. The text on top is just text labels that do not necessarily need to be included in the transform. Thanks in advance for any help! Erik Quote Link to comment
Antoine Chalons Posted March 7, 2011 Report Share Posted March 7, 2011 Hi, I haven't dug into it but I'm pretty confident you can find a lot of inspiration in this example : http://decibel.ni.com/content/docs/DOC-15359 Hope this will be of interest Quote Link to comment
Ton Plomp Posted March 7, 2011 Report Share Posted March 7, 2011 Divide the size of both images on each other, use the minimum of the X and Y quotient to resize the bigger image in the image control. Ton Quote Link to comment
Minh Pham Posted March 8, 2011 Report Share Posted March 8, 2011 Divide the size of both images on each other, use the minimum of the X and Y quotient to resize the bigger image in the image control. Ton and use the Scale factor property node of the picture to do this Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.