-
-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use BlurHash in Hydrus #394
Comments
This could also have limited applications for blurring "objectionable" media that you do not normally want to see if they happen to come up in searches (eg. "cannot be unseen" content types), but that you still want to store and tag for archiving or rare usage. |
This is very interesting, thank you. I like the idea a lot. I will make a job to mock up a test for this, so we can see how much CPU it takes to render that blur IRL. |
Found a pure Python impl that has both the encoder and decoder: https://github.com/halcy/blurhash-python |
|
I would expect the blurhash to be calculated from existing Hydrus thumbnail images so anything Hydrus can make a thumbnail for would get a blurhash. |
@floogulinc notice how all the formats I listed are animated, I was asking an animated equivalent of blurhash. |
@DonaldTsang, Hydrus doesn't provide animated thumbnails for animated files either and a blurhash is really just supposed to be a very small amount of data to load an approximation of the thumbnails before the real thumbnail is loaded. It would only be shown for a couple of seconds at most. Animating a blurhash would be excessive, increasing the size by a lot, and useless since it would just be replaced by a static thumbnail as soon as that loads. |
If you do implement it - make it optional. It's hard on my eyes. |
@floogulinc it does not have to show the full animation either. A video or animated image can be "summarized" into just a small collection of images, which can reduce size while maintaining some information (assuming such placeholders can be used to help confirm the existence of files by memory). |
@DonaldTsang This is irrelevant to the use of blurhash. If you want animated thumbnails that should be a separate issue. |
What is BlurHash?
See the website https://blurha.sh/ for images and further explanation. There is also a Python implementation available.
This can be used in the Hydrus UI itself as placeholders until thumbnails load. It would also be very useful to make it accessible through the API so clients can display the blurhash until the thumbnail loads.
The text was updated successfully, but these errors were encountered: