LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

In the Picture control, how can I draw a small image at a specific offset within a larger image?

Solved!
Go to solution

I could use the opposite of "Get Image Subset.vi", like a "Set Image Subset.vi".

 

The "Draw Flattened Pixmap" function would work if it would let me define the target position instead of the source position.

0 Kudos
Message 1 of 3
(2,576 Views)
Solution
Accepted by topic author bmihura

You can use "Draw Unflattened Pixmap.vi". Here is an example:

 

insert pict test_BD.png

Marc Dubois
Message 2 of 3
(2,563 Views)

That works perfectly, thanks!

 

As a bonus, I also wanted to invert that image and found I could do it by simply adding the "Reverse Array" function to the array exiting the While Loop.

0 Kudos
Message 3 of 3
(2,542 Views)