blurhash
plaiceholder
blurhash | plaiceholder | |
---|---|---|
45 | 9 | |
16,133 | 1,976 | |
0.6% | - | |
4.3 | 8.6 | |
8 months ago | almost 2 years ago | |
C | TypeScript | |
MIT License | Apache License 2.0 |
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.
blurhash
-
Blurhash and Directus: How to Add Blurred Image Loading
Now that you have the generated blurhash string, all that’s left is to display it on your frontend. There are plenty of libraries that can help you do just that—links and documentation can be found in the official BlurHash repository. Let’s keep pushing the boundaries of UX and make our interfaces as pleasant and responsive as possible!
-
Show HN: AvifHash v0 – Compact and efficient image placeholders
AvifHash leverages the power of AVIF to create image placeholders that are both compact and efficient.
This Proof of Concept shows promising results: at 28 characters, AvifHash outperforms BlurHash https://blurha.sh/ (using 4x3 components) in quality and detail retention. At a similar quality, BlurHash needs 54 (5x5) to 76 characters (6x6 components).
Given that AVIF decoding is done by the web engine, AvifHash is very small: the entire demo page (including parsing and re-hydration code) is only 2.3 kB gzipped.
-
Rendering Images The Good Way In Your React Application
BlurHash website: blurha.sh
-
BlurHash: An Alternative to Generic Image Placeholders
Blogspam, including just taking over the source images.
Original: https://blurha.sh/ and https://blog.wolt.com/hq/2019/07/01/how-we-came-to-create-a-... (2019)
-
Generate thumbhash at edge for tiny progressive images
While it's similar to BlurHash, the color performance is much better for the same filesize. Here's a a demonstration of this from the demo page (with ThumbHash in the middle and BlurHash on the right):
- How do you do these placeholder for loading images based on color?
-
How to make a hash of the images with blurhash python package and react
Package Link - https://blurha.sh
-
blurred layer on top of other content using react-native-skia
If you do go this way, you can use https://blurha.sh
-
Migrating my website from Gatsby to Astro
No blurhash for images like Next or Gatsby
- A very compact representation of a placeholder for an image.
plaiceholder
-
What would be the best way of tackling this type of project? Multiple pages with local data
Because is not a static import, I use a library called plaiceholder to create blurred versions of my images, so I can use placeholder="blur" from Next. Each image is being rendered with different sizes.
-
How to add dynamic placeholder to Image component in Next.js ?
So, I have an image component in Next.js I want to add a custom placeholder, I used Plaiceholder to add placeholder, but it only seems to work when the Image has been provided with width and height but does not seem to work when I provide, I manipulate the height and width with CSS .
-
Improving Next.js app performance with BlurHash
From my research, I could not find any Next.js package that could help me with the conversion from BlurHash's Base83 data URL to a Base64 data URL, or any Next.js implementation that works for dynamic images. The few packages I found, like the recently published use-next-blurhash and plaiceholder.co, do not work with Next.js for dynamically stored images.
-
Nextjs image optimization with examples
Tip: Plaiceholder is a good tool for generating base64-encoded images.
-
Building a business from scratch - day 15
You might remember that we tried the Plaiceholder library last week, which wasn’t a great success. Since I want to release this project sooner rather than later, I decided to use the same image loading animation as I do on my website.
-
Building a business from scratch - day 13
First, I tried a library called Plaiceholder, to try and see if I could generate Base64 strings to create a blur of all the affiliate programs' images. However, I think generating the Base64 string on the fly for 12 images at a time might be too much to ask since I couldn't get NextJS past the serializing error.
-
Dynamic image placeholder in Next.js
An easy way is to use plaiceholder
-
How to Use the Next.js Image Component in Storybook
What we have done here is a bit of a hack, granted. But it's effective, as all good hacks are. With this, we're setting all placeholder images to be the same data, at least in the context of Storybook. The string above is actually the base64 representation of the placeholder for the plaiceholder example image on their homepage. But we could just as easily upload our own image there and use that.
-
How does the Next.JS image component compare to Gatsby-Image?
You can achieve blur-up placeholders with next/image but you have to do some work on the server with either getStaticProps or getServerSideProps using placeholder.
What are some alternatives?
swup - Versatile and extensible page transition library for server-rendered websites 🎉
react-content-loader - ⚪ SVG-Powered component to easily create skeleton loadings.
thumbhash - A very compact representation of an image placeholder
hyper - A terminal built on web technologies [Moved to: https://github.com/vercel/hyper]
flutter_gen - The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs.
Using-blurDataUrl-in-NextJs - Improving Next.js app performance with BlurHash