05-30-2019 05:14 AM - edited 05-30-2019 05:15 AM
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?
Solved! Go to Solution.
05-30-2019 08:09 AM
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
05-30-2019 08:41 AM
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
05-30-2019 03:02 PM
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 Picture
Bob Schor
P.S. -- don't forget to attach your VI and your Image when you reply ...
05-31-2019 07:52 AM
@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?
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
..
06-11-2019 10:47 AM
Thanks Andy , Exactly what i needed!