(offscreen) html5 canvas is a flexible way of handling image-data in clientside javascript.
it's frequently used when uploading images to a website, to efficiently allow cropping or resizing.
sharkey image cropping dialog uses html5 canvas
html5 canvas' getImageData method is also a great way to fingerprint a useragent,
as small differences (especially with font rendering) can depend on browser version,
driver version, operating system, and graphics card— needless to say, some
useragents disable this feature (notably,
Tor Browser,
LibreWolf,
Mull,
and that tech-bro browser).
the same image cropping dialog, with a dummy-fied getImageData
this poses a problem for web developers: how does one provide functionality that uses
canvas' getImageData API while maintaining graceful degredation? i would like it if
web pages tested for the presence and functioning of getImageData, and provided a canvas-free
fallback codepath.. unfortunately, this hasn't (yet) caught on.
2024-11-12
there are small critters under the rain barrel, isopods and the
like. we called some of them pill bugs and others wood lice,
rolling one in circles around our palm.
a friend recently described themselves as basing too much of
their self-worth on their productivity— i wonder where i
derive my own?
i keep mementos from various times: photos and cards, even a
collage. anything with handwriting is made special, i think.
earlier this year i spent a long time speaking with someone. we
spoke on many topics, but the hardest for me to put to words for
them was “what do i fear?”