Help with command line script - newb
Posted: 2017-05-24T07:55:41-07:00
Hi guys, a little help here is very much appreciated.
Fred has been helping me with a script to create transparent PNGs from EPS with paths.
Which eventually contributed to a dot version upgrade to IM.
Well, we've successfully run the script one at a time however I need a little help with running it on all the files on a network location.
I have IM installed on my machine however every file is on a network location.
I can't seem to get the script written correctly to actually run and process all the files.
This is the working script that I can run one at a time.
convert -density 300 -profile C:\ImageMagick-6.9.8-Q16\sRGB.icc \path\to\my\file.eps -alpha transparent -clip -alpha opaque -strip \path\to\my\results\file.png
How do I write this so that I can run all EPS files in drive "M" and output to a subfolder "PNG-files" ?
This doesn't work for me:
FOR %a in (*.eps) DO convert -density 300 -profile \test-Trans-png-copy-job\sRGB.icc %a -alpha transparent -clip -alpha opaque -strip -path \PNG-files %a.png
thanks in advance
Fred has been helping me with a script to create transparent PNGs from EPS with paths.
Which eventually contributed to a dot version upgrade to IM.
Well, we've successfully run the script one at a time however I need a little help with running it on all the files on a network location.
I have IM installed on my machine however every file is on a network location.
I can't seem to get the script written correctly to actually run and process all the files.
This is the working script that I can run one at a time.
convert -density 300 -profile C:\ImageMagick-6.9.8-Q16\sRGB.icc \path\to\my\file.eps -alpha transparent -clip -alpha opaque -strip \path\to\my\results\file.png
How do I write this so that I can run all EPS files in drive "M" and output to a subfolder "PNG-files" ?
This doesn't work for me:
FOR %a in (*.eps) DO convert -density 300 -profile \test-Trans-png-copy-job\sRGB.icc %a -alpha transparent -clip -alpha opaque -strip -path \PNG-files %a.png
thanks in advance