fix: build, feat: ico support

This commit is contained in:
not-nullptr 2025-06-28 16:36:54 +01:00
parent a2060baba2
commit 0a243d1a10
3 changed files with 5 additions and 1 deletions

View File

@ -30,6 +30,7 @@
"@sveltejs/vite-plugin-svelte": "^4.0.4", "@sveltejs/vite-plugin-svelte": "^4.0.4",
"@types/eslint": "^9.6.1", "@types/eslint": "^9.6.1",
"autoprefixer": "^10.4.20", "autoprefixer": "^10.4.20",
"css-select": "5.1.0",
"eslint": "^9.18.0", "eslint": "^9.18.0",
"eslint-config-prettier": "^10.0.1", "eslint-config-prettier": "^10.0.1",
"eslint-plugin-svelte": "^2.46.1", "eslint-plugin-svelte": "^2.46.1",

View File

@ -18,6 +18,7 @@
"@sveltejs/vite-plugin-svelte": "^4.0.4", "@sveltejs/vite-plugin-svelte": "^4.0.4",
"@types/eslint": "^9.6.1", "@types/eslint": "^9.6.1",
"autoprefixer": "^10.4.20", "autoprefixer": "^10.4.20",
"css-select": "5.1.0",
"eslint": "^9.18.0", "eslint": "^9.18.0",
"eslint-config-prettier": "^10.0.1", "eslint-config-prettier": "^10.0.1",
"eslint-plugin-svelte": "^2.46.1", "eslint-plugin-svelte": "^2.46.1",

View File

@ -23,7 +23,9 @@ export class MagickConverter extends Converter {
new FormatInfo("webp", true, true), new FormatInfo("webp", true, true),
new FormatInfo("gif", true, true), new FormatInfo("gif", true, true),
new FormatInfo("heic", true, false), new FormatInfo("heic", true, false),
new FormatInfo("ico", true, false), // TODO: .ico files can encode multiple images at various
// sizes, bitdepths, etc. we should support that in future
new FormatInfo("ico", true, true),
new FormatInfo("bmp", true, false), new FormatInfo("bmp", true, false),
new FormatInfo("cur", true, false), new FormatInfo("cur", true, false),
new FormatInfo("ani", true, false), new FormatInfo("ani", true, false),