cancel
Showing results for 
Search instead for 
Did you mean: 

Saving Image

Enriquez
Member

Saving Image

Message contains an image Message contains an attachment

Hi Everyone,

I have created a vi. that adds multiple images and im having a little difficulty on how i should save the new image produced, can anybody show me how can i implement itSmiley Happy

Thanks a lot!

 

Multipleimage.png

6 REPLIES 6
ABCPrograms
Active Participant

Re: Saving Image

Message contains a hyperlink

her eyou can find an example.

https://decibel.ni.com/content/docs/DOC-2209

Kind regards,

- Bjorn -

Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's Smiley Wink
LabVIEW 5.1 - LabVIEW 2012
Enriquez
Member

Re: Image in the center of the picture box

Message contains an attachment

Hi,

 

I've created a vi. that allows me to input any values in rows and columns, i just want to know that instead of showing the lens in the edge, I want to see it in the center of the picture box. Can someone show me on how i implement itSmiley Happy

Thanks!

Highlighted
alexderjuengere
Active Participant

Re: Image in the center of the picture box

Message contains an image

@Enriquez wrote:

Hi,

 

I've created a vi. that allows me to input any values in rows and columns, i just want to know that instead of showing the lens in the edge, I want to see it in the center of the picture box. Can someone show me on how i implement itSmiley Happy

Thanks!


Are you looking for a frame?

So, I would draw a rectang around it and center the image to the frame

 

2013-05-22_frame.PNG

 

2013-05-22_frame2.PNG

 

 

This piece of code is not generic and needs some extra work e.g. if you want to change the size of the frame.

 

 

 

Alex

Enriquez
Member

Re: Image in the center of the picture box

Message contains an image

Hi alex,

 

Im actually not looking for a frame, i just want to place the picture in the middle of the picture box. From the codes that you gave me and for some reason im getting an error about the cluster.

Image.png

Enriquez
Member

Re: Image in the center of the picture box

Hi again,

 

Ignore my first question, I already solved the errorSmiley Happy

 

Thanks!

alexderjuengere
Active Participant

Re: Image in the center of the picture box

Message contains an image

 

The picture information represented in the image indicator can't be centered to the image indicator because there are "no" surrounding picture elements.

 

If you increase the image indicators width and/or height via dragging the corners with your mouse,

there will be added "phantom pixels" which don't belong to the real picture information.

That is why you can hi-light those phantom pixels with the color tool, see :

 

1.png2.png

 

So, you do have to add these surrounding PEL in terms of a frame first.

Then you can center the picture information to the frame.

 

 

 

 

 

 

Tags (1)