Is there any package available for optimizing images similar to next/image?
.
5 Replies
equal-jade•5mo ago
rare-sapphire•5mo ago
thank you @Jaga Santagostino your a life saver with the above suggestion.
this in fact is so dam helpful to someone comparing tanstack start to there current say nextjs instance, i'm wondering if this should be suggested within the tanstart start docs as a path to migrate from nextjs?
thoughts @Tanner Linsley ? p.s. i'm new here.
inland-turquoise•5mo ago
once its stable probably
ratty-blush•3w ago
They're supposedly building their own Image component
foreign-sapphire•3w ago
I've been using https://github.com/lovell/sharp to convert my images to webp and resize them. Unpic is good for images hosted on a CDN 🙂
GitHub
GitHub - lovell/sharp: High performance Node.js image processing, t...
High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library. - lovell/sharp