I am a brand new ImageMagick user (working in Windows 7) so forgive my ignorance but I would like to recurse this command to convert the background of a png to transparent, overwriting the original files (rather than copying to a new folder)
Code: Select all
FOR %G IN (*.png) DO convert %G -transparent white test \%G
I put together this command
Code: Select all
FOR /R %%a IN (*.png) DO convert -transparent white "%%~a" "%%~dpna.png
Code: Select all
%%a was unexpected at this time.
Code: Select all
for /R %i IN (*.png) DO convert -transparent white "%i" "%%~dpna.png"
If anyone has a moment to help me tweak the code I would really appreciate the advice!
Thanks for reading
Rebecca