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
* Simplified version of Next.js image optimizer's detectContentType function (https://github.com/vercel/next.js/blob/9436dce61f1a3ff9478261dc2eba47e0527acf3d/packages/next/src/server/image-optimizer.ts#L160).
43
+
* Supports common web image formats (JPEG, PNG, GIF, WEBP, AVIF, SVG) and drops
44
+
* irrelevant formats like PDF, ICO, TIFF, etc. that aren't used for logos.
* Resize an image buffer while preserving the original format.
96
+
* Simplified version of Next.js image optimizer's optimizeImage function (https://github.com/vercel/next.js/blob/9436dce61f1a3ff9478261dc2eba47e0527acf3d/packages/next/src/server/image-optimizer.ts#L640).
97
+
* Supports common web image formats (JPEG, PNG, WEBP, AVIF) with format-specific
98
+
* optimization settings. Drops advanced options like limitInputPixels, sequentialRead,
99
+
* and timeout that aren't needed for logo processing. Uses failOnError: false for
100
+
* better robustness with potentially malformed images.
0 commit comments