# I am the Watcher. I am your guide through this vast new twtiverse.
#
# Usage:
# https://watcher.sour.is/api/plain/users View list of users and latest twt date.
# https://watcher.sour.is/api/plain/twt View all twts.
# https://watcher.sour.is/api/plain/mentions?uri=:uri View all mentions for uri.
# https://watcher.sour.is/api/plain/conv/:hash View all twts for a conversation subject.
#
# Options:
# uri Filter to show a specific users twts.
# offset Start index for quey.
# limit Count of items to return (going back in time).
#
# twt range = 1 8
# self = https://watcher.sour.is/conv/n5gss2q
I saw the allegedly animated GIF @thecanine uploaded gets a PNG extension, yet remains animated. I know PNG can be made animated, but I don't think that's what's happening here, so I am puzzled. Let's see how this Nyam cat looks like.
What if i told you for a browser it doesn't matter what the extension is.. it will use the file magic mime value instead.
What if i told you for a browser it doesn't matter what the extension is.. it will use the file magic mime value instead.
@xuu I figured that was what was happening. The confusing part is, why even give it an extension then, and why PNG, when the original was GIF? π€―
@fastidious I suspect β but of course I could also be entirely wrong β that the file extension will dictate whether to render an <img>
, <audio>
or <video>
in yarnd's HTML. Maybe just only for remotely hosted resources in a markdown media link.
@lyse that could be, but it is still wrong, don't you think? I mean, there has to be a better way to handle this other than just assigning a PNG extension to just about any image, right? Maybe that's something @prologic is already working on, and I am here just adding noise for no good reason at all. π
@fastidious Yue backend encodes all images as PNG because they are lossless. We just don't actsullly properly support GIFs yet π Patience βΊοΈ
@fastidious Yue backend encodes all images as PNG because they are lossless. We just don't actsullly properly support GIFs yet π Patience βΊοΈ