vite-imagetools
js-image-carver
Our great sponsors
vite-imagetools | js-image-carver | |
---|---|---|
8 | 6 | |
840 | 1,530 | |
- | - | |
8.9 | 0.0 | |
10 days ago | over 1 year ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vite-imagetools
-
how to integrate vite-imagetools into sveltekit 1.0
The first thing is to install vite-imagetools from https://github.com/JonasKruckenberg/imagetools
- Do you know a package that could do that ? POSTCSS ?
-
QWER : Simply Awesome Blog Starter built with SvelteKit and Love
Automatic image optimization via vite-imagetools.
-
Next.js image alternative in Svelte
The closest solution I’ve found is hacking something together yourself with vite-imagetools
-
What are the weirdest CMS you've seen used to host content?
The projects this solutions works with are customised Sveltekit projects I made. It has everything: markdown parser using Mdsvex, image converting tool using vite-imagetools, it has toml parser, and of course live preview and lots of other smaller things like markdown directives.
-
From PHP to SvelteKit - scanning directories
#2 - I'm not sure about the performance and/or resource usage implication around importing over 100 images like this. Would all of these images get bundled and included in the production build? The upside here is that something like vite-imagetools could be used if/when needed.
-
Show HN: I hype drivingly recreated my website and it was awesome
Hello HN,
I had some christmas free time over the last two weeks (Merry Christmas btw ;-)) and used that time to completely recreate the website of my app[1]. I used all the fancy new tools. I didn't know some of them when I started.
What was my goal?
* Pretty website
* Blazing fast
* Mobile first
* SSR
* Webp support
* Generally all the best website practices (high lighthouse score)
What did I use?
* Tailwindcss (https://tailwindcss.com/)
* Tailwind Components (https://tailwindui.com/)
* React (https://reactjs.org/)
* ViteJs (https://vitejs.dev/)
* Kubernetes (https://kubernetes.io/)
Well what can I say. I hate creating websites, but this was an awesome experience. Never have I created a website more efficiently. Tailwindcss + Components is just the best. ViteJS is so so so much easier to setup compared to webpack and has SSR support on top of it. React has been around somewhat longer and I did a lot of projects with it, so that was a nobrainer. Special thanks to all the people who created these awesome tools.
PS: If you work with lots of images, do yourself a favor and use something like https://github.com/JonasKruckenberg/imagetools. It saved me hours of dreadful work.
[1] https://stockevents.app
-
Using vite-imagetools with SvelteKit
Spent the better part of today attempting to find a working alternative to svelte-images, which I had been using in Sapper, but found was not working in SvelteKit. Was referred to [vite-imagetools](https://github.com/JonasKruckenberg/vite-imagetools) on discord, which is a vite plugin that dynamically import and transform images (srcset). Here are the steps required to integrate vite-imagetools with SvelteKit:
js-image-carver
- JS IMAGE CARVER - Content-aware image resizer
- Resize photos preserving objects proportions (content-aware resizing)
- JavaScript IMAGE CARVER, a content-aware image resizer
-
Content-aware image resizing in JavaScript
I've created the JS IMAGE CARVER web-app (and also open-sourced it on GitHub) that you may use to play around with resizing of your custom images.
- JS Image Carver: content-aware image resizer
What are some alternatives?
vike - 🔨 Like Next.js / Nuxt but as do-one-thing-do-it-well Vite plugin.
WASM-ImageMagick - Webassembly compilation of https://github.com/ImageMagick/ImageMagick & samples
unplugin-vue-components - 📲 On-demand components auto importing for Vue
rotsprite-webgl - A rough implementation of the Rotsprite algorithm by Xenowhirl built with HTML5 Canvas and WebGL.
vite-aliases - Alias auto generation for Vite
fastimage - A module that finds the size and type of an image by fetching and reading as little data as needed.
vite-plugin-inline-css-modules - Write CSS modules without leaving your javascript!
fxGlue - 💥 WebGL-based image effects library. (TypeScript)
vite-plugin-rsw - 🦞 wasm-pack plugin for Vite
javascript-algorithms - 📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings
SvelteKit - web development, streamlined
bother - a free open source toolkit for batch processing images in the browser