cyrilwanner / next-optimized-images

🌅 next-optimized-images automatically optimizes images used in next.js projects (jpeg, png, svg, webp and gif).
MIT License
2.21k stars 93 forks source link

lqip errors "Error: Input file is missing or of an unsupported image format lqip v2.1.0" #211

Open FranciscoG opened 4 years ago

FranciscoG commented 4 years ago

"lqip-loader": "^2.2.1", "next-optimized-images": "^2.6.2",

I keep getting this from lqip

Error: Input file is missing or of an unsupported image format lqip v2.1.0
Error: Input file is missing or of an unsupported image format lqip v2.1.0
warn  - ./src/assets/hero.gif?lqip
NonErrorEmittedError: (Emitted value instead of an instance of Error) Error: Input file is missing or of an unsupported image format lqip v2.1.0

The gif it's warning about is in a background-image url css and I did not add that ?lqip to it so I have no idea why it's trying to do that.

I'm not sure what those other Errors are either, it does not give me the file names. Or maybe it's all related to the gif?

andree-rehnberg commented 4 years ago

Also getting this. It's warning me about svgs and ico-files that I'm not even adding ?lqip to.

FranciscoG commented 4 years ago

at least it's just warnings and not causing any issues that I can see, still weird that it's happening