LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove border on imported pictures

Solved!
Go to solution

Hi, 

 

I'm looking to create layers of images, but the default picture viewer in Labview is hindering my progress. Is there any way to remove the border so the overlaid image looks seamless?

 

Capture.PNG

0 Kudos
Message 1 of 6
(3,691 Views)

Well, without seeing your code (don't bother attaching a picture on my behalf -- I won't waste my time looking at it), I'm reluctant to suggest a method (such as extract the pixels and remove outer rows and columns).

 

Bob Schor

0 Kudos
Message 2 of 6
(3,663 Views)
Solution
Accepted by topic author colin.gill

It's possible to set the borders of a picture control to transparent using the Set Color tool from the Tools palette (found under the View menu, in case you're unfamiliar with it).  You need to click right on the border, which can be a bit awkward with the paintbrush-shaped cursor.

 

I haven't found a way of doing this programmatically.

 

Andy

Message 3 of 6
(3,655 Views)

Please attach the VI you are trying to develop (so we know what kind of "picture" you are describing), along with a sample "picture" you wish to show.  I'm not 100% certain that I understand the problem, but a solution might be possible ...

Borderless PictureBorderless Picture

Bob Schor

 

P.S. -- don't forget to attach your VI and your Image when you reply ...

0 Kudos
Message 4 of 6
(3,636 Views)

@colin.gill wrote:

Hi, 

 

I'm looking to create layers of images, but the default picture viewer in Labview is hindering my progress. Is there any way to remove the border so the overlaid image looks seamless?

 

Capture.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


As others have indicated, the picture control on the classic palette will let you set the border as transparent since it looks like you are trying to place one picture control on top of another but.

 

There are function on the;

 

Graphics and Sound >>> Picture

 

palette that will allow you to insert one image into another and specify where the insert image is placed. No border involved using that approach.

 

This thread has a collection of links to threads about picture control use and abuse.

 

Ben

 

 

..

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 6
(3,609 Views)

Thanks Andy , Exactly what i needed!

0 Kudos
Message 6 of 6
(3,554 Views)