LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

saving image to a selectecd path

I want to save image to a selected path with file name( Using file dialouge).

the images i am saving doesn't had a format. I would like to save those pictures with a format. Is it possible I have tried using write to file IMAQ but it is not working.

@nk
0 Kudos
Message 1 of 6
(2,767 Views)

Hi nk,

 

there is a function palette for loading/saving images using PNG/JPG/BMP format. Have you tried them?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(2,754 Views)

I have tried that too

@nk
0 Kudos
Message 3 of 6
(2,746 Views)

This is what I am trying now .But it is not saving any format.

@nk
0 Kudos
Message 4 of 6
(2,737 Views)
While saving try giving with file extension as .bmp or .png then try!!!
Thanks
uday
0 Kudos
Message 5 of 6
(2,612 Views)

"the images i am saving doesn't had a format" - this doesn't make sense! If it is an image it must be in one format or another. Where do the images come from (a camera?) and what data type does that source give you? Are you trying to convert an array of ints into a bmp or what?

 

Please remember that we do not know what you are trying to do so you need to explain your problem in enough detail for us to understand.

 

Where does the image come from?

What format (data type) is it?

What format do you want to save it in (or dont you care?)

etc.

0 Kudos
Message 6 of 6
(2,601 Views)