LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to open and save pictures from 1 folder at the same time?

Is there a way to open and save pictures from 1 folder at the same time?
I'm creating a vi that resizes the picture but I want to do it with 1 folder at a time... Is this possible?

greetings!
0 Kudos
Message 1 of 5
(2,747 Views)
Use a file dialog to select a folder, then use "list folder" with your desired pattern (e.g. *.jpg). You get an array of all matching file names. Feed it into an autoindexing FOR loop to process all files.
 
Make sure you don't accidentally "process" and non-image files ;).
0 Kudos
Message 2 of 5
(2,743 Views)
Hi Kway,

Here you are. I wrote a file a customer times ago & It did what you want! Smiley Wink

Just see the attachements and keep me inform.

Regards,
Julien Roland - District Sales Manager
NI Belgium - Technical Support

Don't forget to rate a good answer
0 Kudos
Message 3 of 5
(2,720 Views)
I tried to open it but I don't have LV8.2 :s (I just have LV8.0)
0 Kudos
Message 4 of 5
(2,710 Views)
Here you are. I saved the files in version 8.0 of LabVIEW Smiley Happy
Julien Roland - District Sales Manager
NI Belgium - Technical Support

Don't forget to rate a good answer
0 Kudos
Message 5 of 5
(2,694 Views)