-
the_internet_does_not_forget
https://larma.de:5281/upload/nKUu3uHLCS1FC3kM/Screenshot%20from%202023-03-22%2018-35-42.png
-
pep.
Is the link safe to click? The URL domain tells me it is, the nickname not so much
-
flow
it is
-
jonas’
it is
-
pep.
Thanks
-
edhelas
> https://larma.de:5281/upload/nKUu3uHLCS1FC3kM/Screenshot%20from%202023-03-22%2018-35-42.png type="image/blurhash" ↺
-
larma
edhelas, thumbhash is the new hot thing https://evanw.github.io/thumbhash/
-
singpolyma
larma: scroll up ;)
-
Zash
new hot thing? Hype??? I'm opposed!!!!
-
Daniel
Uh that looks nice
-
singpolyma
Yeah, I'm considering adding support for it to our existing blurhash support
-
jonas’
it does look quite nice indeed
-
jonas’
ah they were smart about number of components in luma vs. chroma and thus can get more detail in the same space?
-
larma
Especially they don't have the issue of random oversaturation that i super annoying in blurhash✎ -
larma
Especially they don't have the issue of random oversaturation that is super annoying in blurhash ✏
-
larma
And: Alpha!
-
goffi
that make me think, we don't have anything to transmit this kind ot data with XMPP, do we?
-
goffi
could be nice to have a field for that in XEP-0446
-
MattJ
> <singpolyma> No. I just use a sims thumbnail element with type="image/blurhash"
-
singpolyma
Yeah, even if it's a low quality one, it's still a thumbnail
-
goffi
ah sorry I haven't followed all the discussion. It's fine this way indeed.
-
goffi
it is yes
-
jonas’
and a data URI inside?
-
singpolyma
Yes
-
jonas’
<3
-
singpolyma
For blurhash I don't use b64 because it is ascii but I use encode. For thumbhash it is binary so I would use b64 data uri
-
goffi
then, it could be nice to have this documented somewhere (like XEP-0264), so we're all on the same page.
-
jonas’
sensible
-
jonas’
also sensible
-
Daniel
Just for my understanding. None of these hash mechanism contain aspect ratios, no? So I would always need to include the original file dimensions to render it nicely?
-
jonas’
Daniel, thumbhash does
-
Daniel
Oh interesting
-
singpolyma
Thumbhash does, but thumbnail element contains a width and height anyway
-
Daniel
> but thumbnail element contains a width and height anyway Yes that's fine. I was just thinking about omemo media sharing or what ever that aesgcm xep is called
-
moparisthebest
Nice explanation https://blog.cryptographyengineering.com/2023/03/23/remarks-on-chat-control/
-
larma
thumbhash doesn't really include aspect ratio, you can derive an approximation of the aspect ratio
-
larma
Daniel, the more I think about it, the better I like the idea to just put a XEP-0446 element in the second line of omemo media sharing. If it makes you feel better, you could prefix with `data:text/xml,` 😉
-
Daniel
I could probably get in board with that
-
larma
Main reason being that we can also transfer filenames that way (which typically are lost today with omemo file transfers)
-
Daniel
Yes I got that
-
Daniel
I'll need to check if `data:text/xml` is compatible with current Conversations...
-
singpolyma
Eventually the solution is SCE right?
-
Daniel
Yes