Skip to main content

Details :

I tried to add Dataset & Pathname reader followed by StringSearcher, FeatureReader and writer as format JPEG.

I am getting desired output till feature reader , when i checked with logged but i am not getting files in output folder.

attache4d is the WB created path2jpeg.fmw

Input files are mutiple files with extension .jpg


You can do all this with a Jpeg Reader.

Choose the Jpeg reader and under the "Dataset" select the drop down on the far right. Choose "select Multiple files/folders". Then add the relevant folder. In your case you are trying to find jpegs contain B, so the filter needs to be *B*.jpg.


I would keep using the "Directory and File Pathnames"-reader: This will get you a file listing of all *.jpg and you can use the 'path_rootname' attribute in a Tester to filter relevant files. Then use the "File Copy" writer to copy the images to the desired folder instead of reading all JPGs.


Reply