05-26-2016 02:11 AM
Hi
I'm trying to convert the pixels of PNG file to binary code and i have to do it for a folder full of PNG files. For now my VI estracts the information of the PNG in a cluster and then convert the pixels to RGB to Color and then write them in binary. The problem is that it do it only for one path.
Is it possible do it automatically for all the PNG files in the folder?
Solved! Go to Solution.
05-26-2016 02:28 AM - edited 05-26-2016 02:33 AM
why you do not use loop for this one ?
for calling all png of one folder you can use list folder vi with pattern of .png and then you can use
file list output terminal of this vi for convert all png
05-26-2016 02:29 AM
If you Requirement is to do existing logic for all the .png Files inside a folder (List the .png FIles and Use build path to Frame a Array of path all the png Files and then Place your Existing Logic in a loop)
05-26-2016 02:53 AM
Have you tried using the Recursive File List function to get all the png files in a folder?
05-26-2016 04:47 AM - edited 05-26-2016 04:51 AM
Hi Greg
Recursive Function will work For taking the Files of Same category woth Full path.
To Make Very precise we can use pattern for Recursive function as *.png which will give only path for the file names with .png extension, which which avoid
get FIle Extension and Case to differentiate from other file extension
Kind Regards
palanivel Thiruvenkadam
05-26-2016 04:50 AM
Thank you very much.
05-26-2016 04:54 AM
For Better Understanding please find the attached Image
Kind Reagrds
palanivel Thiruvenkadam