How to convert JPG/PNG to multi resolution ico? #74
Unanswered
sahilkumarmaths
asked this question in
Q&A
Replies: 1 comment 2 replies
-
You will need to translate the command line code to typescript/javascript. It might be possible that a feature that you want is not yet available and should be added. What have you tried yourself so far and where are you stuck? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How to convert JPG/PNG image to multi resolution ico using magick-wasm?
I found the following that uses ImageMagick cli:
convert input.png -define icon:auto-resize="256,128,64,32,16" result.ico
Moreover how to pass the options similar to imagemagick cli while using magick-wasm
Example:
magick -size 320x85 canvas:none -font Bookman-DemiItalic -pointsize 72 \ -draw "text 25,60 \'Magick\'" -channel RGBA -blur 0x6 -fill darkred -stroke magenta \ -draw "text 20,55 \'Magick\'" fuzzy-magick.png
Thanks in advance :)
Beta Was this translation helpful? Give feedback.
All reactions