-
Notifications
You must be signed in to change notification settings - Fork 378
Description
I tried to create a blurhash from 50x50 image and tried decoding it into base64. I got very lengthly string as output (400-2000):
/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAFA3PEY8MlBGQUZaVVBfeMiCeG5uePWvuZHI////////////////////////////////////////////////////2wBDAVVaWnhpeOuCguv/////////////////////////////////////////////////////////////////////////wAARCAAgACADAREAAhEBAxEB/8QAFwABAQEBAAAAAAAAAAAAAAAAAQMCBP/EABgQAQEBAQEAAAAAAAAAAAAAAAEAAhES/8QAFgEBAQEAAAAAAAAAAAAAAAAAAAEC/8QAFREBAQAAAAAAAAAAAAAAAAAAAAH/2gAMAwEAAhEDEQA/AM5YioxQtRntESzZiqjUC1GFoihiNHzAJBhzRHSFpSkE9EByg//Z
Is there any way to shorten this string? It seems airbnb also has similar blurhash implementation but they have only 179character long encoded base64 string for images. I am trying to decode in server since the page has lot of images and not feasible to decode in client side.