Saturday, 29 August 2020

how to parse image to ICO format in javascript client side

I want to convert image (png/jpeg) to ICO using javascript in frontend.

On searching the web, I came across this code on github: https://gist.github.com/twolfson/7656254 but unfortunately it uses fs module of nodejs (+ the code is very difficult to compehend).

Can someone tell guide me on what should I search/or a way through which I can convert png/jpeg to ico using javascript in frontend?

Alternates I have tried?

Used this repo: https://github.com/fiahfy/ico-convert but they use sharp and sharp isn't supported on client side



from how to parse image to ICO format in javascript client side

No comments:

Post a Comment