BlurHash: A compact representation of a placeholder for an image
18 hours ago
- #user-experience
- #web-development
- #image-placeholder
- BlurHash is a compact representation of a placeholder for an image.
- It replaces empty boxes with beautiful blurhash states, making designers happy.
- BlurHash strings are short (20-30 characters) and can be stored in JSON or databases.
- The process involves encoding an image into a string on the backend and decoding it on the client.
- The decoded string creates a placeholder image while the real image loads.
- BlurHash is platform-agnostic, with libraries available for various platforms.