You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Encoding the original image aspect ratio in the blurhash string would allow displaying the blurhash with correct aspect ratio before the image is loaded.
I'm currently extracting the aspect ratio when creating the blurhash and then sending it to the frontend to properly size the image container before the image is loaded.
My application is a book store - the covers have different aspect ratios and I need to display them in a grid (on the search page).
Of course, this can also be implemented as an extension to the blurhash algorithm, but it would be nice to have native support in a future version of blurhash.
The text was updated successfully, but these errors were encountered:
Encoding the original image aspect ratio in the blurhash string would allow displaying the blurhash with correct aspect ratio before the image is loaded.
I'm currently extracting the aspect ratio when creating the blurhash and then sending it to the frontend to properly size the image container before the image is loaded.
My application is a book store - the covers have different aspect ratios and I need to display them in a grid (on the search page).
Of course, this can also be implemented as an extension to the blurhash algorithm, but it would be nice to have native support in a future version of blurhash.
The text was updated successfully, but these errors were encountered: