Error while Converting JPG to PNG with fuzz parameter
Posted: 2018-03-06T15:46:44-07:00
Hi, I'm new to ImageMagic and have a very basic question but can't figure out the issue myself. I have a bunch of JPG images sitting in a folder and I need to apply a transparent background and make them PNG. Below is a command that I have in a BAT file:
for %%i in (*.jpg) do ( convert "%%i" -fuzz 5%% -transparent white "%%~ni.png" )
When I run that I'm getting this error:
Invalid Parameter - -fuzz
I would appreciate any help.
Thanks.
for %%i in (*.jpg) do ( convert "%%i" -fuzz 5%% -transparent white "%%~ni.png" )
When I run that I'm getting this error:
Invalid Parameter - -fuzz
I would appreciate any help.
Thanks.