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.
Error while Converting JPG to PNG with fuzz parameter
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Error while Converting JPG to PNG with fuzz parameter
"Invalid Parameter" means you are not running ImageMagick convert.exe, but a Microsoft Windows program with the same name.
snibgo's IM pages: im.snibgo.com
Re: Error while Converting JPG to PNG with fuzz parameter
Thanks for your help! I added a full path to the magick.exe and it works now.
Thanks again.
Thanks again.