You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When comparing the resulting images the one converted with imagemagick native has siginificantly lower resolution than the one converted on command line.
I'm guessing that imagemagick native chooses the first image contained in the ICO file which is usually the lowest resolution version, while the convert command chooses the last which is usually the highest resolution version.
Using imagemagick on command line:
convert -flatten -thumbnail 64x64 klikk.ico klikk.png
Using imagemagick native:
fs.writeFileSync('klikk.png', im.convert({ srcData: fs.readFileSync('klikk.ico'), srcFormat: 'ICO', format: 'PNG', width: 64, height: 64, quality: 100 }));
When comparing the resulting images the one converted with imagemagick native has siginificantly lower resolution than the one converted on command line.
I'm guessing that imagemagick native chooses the first image contained in the ICO file which is usually the lowest resolution version, while the convert command chooses the last which is usually the highest resolution version.
klikk.ico.zip
The text was updated successfully, but these errors were encountered: