Invalid Parameter
nekooee opened this issue · comments
I get this error:
$ ./favicon.sh logo.png -x
Generating square base image
Invalid Parameter - -resize
Generating favicons
Invalid Parameter - -resize
Invalid Parameter - -resize
Invalid Parameter - -resize
Invalid Parameter - -resize
Invalid Parameter - -resize
Invalid Parameter - -resize
Generating ico
Invalid Parameter - logo-32x32.png
Generating touch icons
Invalid Parameter - -resize
Invalid Parameter - -resize
Invalid Parameter - -resize
Create html tags in favicons.txt
I run it in Windows with git bash
Hello, @nekooee. I am not the owner of this project, but found out this post on Stack Overflow that can help you out. Apparently, there is already a command on Windows called convert, which makes it use the incorrect command.
According to the answers in the post, all calls to the ImageMagick convert, on Windows, should use the magick
argument at their start. I do not know if it will work, but you can try to use an alias for it before using the script to see if it fixes it:
alias convert="magick convert"