Background Removal Save File
Posted: 2017-08-22T13:32:07-07:00
Hello all and thank you for your time and consideration.
OS: Windows 10
Version: ImageMagick 7.0.6-9 Q16 x64 2017-08-21 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
My goal is to take a folder of PNG images, remove three colors from the background and leave transparent. Ideally I would like them saved to a new folder.
Starting Image: https://drive.google.com/open?id=0B0xHg ... jJuMzdEU3c
Desired Image: https://drive.google.com/open?id=0B0xHg ... jZHdVQtQkk
After searching through forums, tutorials, IM website, examples and the reference index I have come up with this:
C:\Users\pqdyp\Desktop\Landscapecopy>FOR %G IN (*.png) DO Magick "%G -alpha set -transparent #00FFFF -transparent #FF00FF -transparent #FF96FF Batch\%G
Resulting Error: Invalid argument or not enough arguments
It does scroll through all .png files in folder so the first part seems right. I have toyed around with it and yielded different errors. I suspect that I am not saving the output images correctly. I have tried including the full path to desired folder:
C:\Users\pqdyp\Desktop\Batch\%G
I have tried interchanging "magick" with "convert" the later leads to a list of operations usable by Image Magick being displayed.
what am I missing to make this work?
Thank you
OS: Windows 10
Version: ImageMagick 7.0.6-9 Q16 x64 2017-08-21 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
My goal is to take a folder of PNG images, remove three colors from the background and leave transparent. Ideally I would like them saved to a new folder.
Starting Image: https://drive.google.com/open?id=0B0xHg ... jJuMzdEU3c
Desired Image: https://drive.google.com/open?id=0B0xHg ... jZHdVQtQkk
After searching through forums, tutorials, IM website, examples and the reference index I have come up with this:
C:\Users\pqdyp\Desktop\Landscapecopy>FOR %G IN (*.png) DO Magick "%G -alpha set -transparent #00FFFF -transparent #FF00FF -transparent #FF96FF Batch\%G
Resulting Error: Invalid argument or not enough arguments
It does scroll through all .png files in folder so the first part seems right. I have toyed around with it and yielded different errors. I suspect that I am not saving the output images correctly. I have tried including the full path to desired folder:
C:\Users\pqdyp\Desktop\Batch\%G
I have tried interchanging "magick" with "convert" the later leads to a list of operations usable by Image Magick being displayed.
what am I missing to make this work?
Thank you