Closed IamTaoChen closed 7 months ago
Thanks for feedback, but we don't currently support ICO files(because libvips will panic on ico files), as per our docs: https://docs.webp.sh/, we support the following files:
Currently supported image format: JPEG, PNG, BMP, GIF, SVG, HEIC, NEF, WEBP
From our default configuration ICO files should be ignored, could you share us a bit more about your configuration and usage?
thanks to know this.
{
"HOST": "0.0.0.0",
"PORT": "3333",
"QUALITY": "80",
"IMG_PATH": "./pics",
"EXHAUST_PATH": "./exhaust",
"ALLOWED_TYPES": ["jpg","png","jpeg","bmp","gif","svg","heic","ico","webp","avif"],
"IMG_MAP": {},
"ENABLE_AVIF": false,
"ENABLE_EXTRA_PARAMS": true
}
remove ico from your config and it should work
Describe the bug
Could not read .ico file.
To Reproduce Steps to reproduce the behavior
Expected behavior A clear and concise description of what you expected to happen.
Screenshots and logs If applicable, add screenshots and logs to help explain your problem.
Environment (please complete the following information):
Additional context Add any other context about the problem here.