LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to save an image in different file formats

Solved!
Go to solution

Hello

 

I want to have a drop down menu when the file dialog window opens so that I can select in which format I want to save the file.

 

For example have it in JPG, BMP, or PNG. The way that is working right now is saving it in the format that I write down on the filename. For example, if I write down labview.png it will save it in this format.

 

Therefore, if someone could help me to find a way to save it from the save as type menu it will be great! 

LabVIEW Intermediate I level!
0 Kudos
Message 1 of 4
(2,984 Views)
Solution
Accepted by Bebeto
This has been brought up multiple times before. Can't do it with the File Dialog that ships with LabVIEW. You have to either roll your own, or make an OS API call. You can also do it with .NET if you're on Windows, as shown in the attached example.
Message 2 of 4
(2,946 Views)

Well that really is an inconvenient.

 

Thanks for your reply

 

I guess this is the solution. 

 

LabVIEW Intermediate I level!
0 Kudos
Message 3 of 4
(2,927 Views)
There was an idea in the LabVIEW Idea Exchange to have an Improved File Dialog, but it does not cover this specific issue. You may want to Kudos that idea and add a comment to include this as a possible improvement, as it wouldn't make sense to make it a separate idea.
0 Kudos
Message 4 of 4
(2,922 Views)