# 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/o5y2u3a
TIL: ImageMagick supports farbfeld images natively since November 2020! 🥳 https://github.com/ImageMagick/ImageMagick/discussions/2664
TIL: ImageMagick supports farbfeld images natively since November 2020! 🥳 https://github.com/ImageMagick/ImageMagick/discussions/2664
TIL: ImageMagick supports farbfeld images natively since November 2020! 🥳 https://github.com/ImageMagick/ImageMagick/discussions/2664
@movq I never heard of this format. Are you using it?
@lyse Yeah, I use it in several places. Even my window manager. It’s *almost* trivial to work with (you have to swap byte endianness on x86_64, which makes it a little bit awkward … but there’s not really a way to avoid that). All other image file formats I know require either big libraries or just have too many options (number of colors, number of channels, yadda yadda). Reading/writing farbfeld is pretty simple compared to that, see lines 60 and 157: https://www.uninformativ.de/git/tuxeye2/file/libff.h.html
@lyse Yeah, I use it in several places. Even my window manager. It’s *almost* trivial to work with (you have to swap byte endianness on x86_64, which makes it a little bit awkward … but there’s not really a way to avoid that). All other image file formats I know require either big libraries or just have too many options (number of colors, number of channels, yadda yadda). Reading/writing farbfeld is pretty simple compared to that, see lines 60 and 157: https://www.uninformativ.de/git/tuxeye2/file/libff.h.html
@lyse Yeah, I use it in several places. Even my window manager. It’s *almost* trivial to work with (you have to swap byte endianness on x86_64, which makes it a little bit awkward … but there’s not really a way to avoid that). All other image file formats I know require either big libraries or just have too many options (number of colors, number of channels, yadda yadda). Reading/writing farbfeld is pretty simple compared to that, see lines 60 and 157: https://www.uninformativ.de/git/tuxeye2/file/libff.h.html
@movq Ha, very cool! I need to play around with this format.