it has been zero days since I started building another meme generation tool.
-
that was mainly a proof of concept. I think SVG is too limiting to do this dynamically, so I'm probably going to write something that uses embedded webfonts and a <canvas> element, like the Death Generator already does.
-
I also want to make it dynamically change the image size (like some Death Generators do) where it can just get taller if you type too much text into it.
That'd be fun for some examples of "experts"
-
I'm also gonna have it do something I've been thinking about adding to the death generator:
Automatic alt-text generation!
It'll have a button you can press that copies some text that is the alt text for what you generated, which'll be a templated generic explanation of the comic plus whatever text you entered. That should make it easier to provide alt-text when posting these to places that want alt text -
someone REALLY needs to develop an ad-hoc standard for embedding alt-text in a PNG/JPEG, though. I'd love to have the site just hand you a file that automatically has alt text when you upload it
-
maybe I'll have to Be The Change I Want To See In The World and develop my own standard and then add support for it in Mastodon
-
but that's more work than I can manage on a day when I can't even sit at a desk, so I had to do all this work from a nearly-flat recliner
-
@foone I've thought about this multiple times, but the thing is, alt texts for one and the same image might be hugely different based upon the context in which it is used.
I mean, sure, embedding _something_ is probably helpful nevertheless, but it's not that simple to consider all requirements.
-
@glyph well, that saves me some time
-
@scy oh yeah.
But for a lot of images it's possible to get a good-enough alt text automatically, because a computer is generating the image from known components.And I'd design it as a "default alt text", not as a definitive alt text. So you could leave it, edit it down to the important things, or replace it entirely. It'd just try to save some time if possible
-
LP🔸All I want for xmas is awooreplied to Foone🏳️⚧️ last edited by
@foone hunh, PNG spec (circa 1996!) actually includes a way to do *content warnings* inside the PNG: https://www.w3.org/TR/PNG-Chunks.html#C.tEXt (not that I expect any viewer ever did a damn thing with it)
"Description" is arguably the right thing, and is already standardized! The only sticking point is that, as a thing around since 1996 with no(?) usage, it might be ruined by junk values in the wild.
Also I bet pngcrush throws these out in common usage.
-
@foone Wait a minute, are you going to use this to encode a base64 of the shareware doom source code into the alt text of an image?
-
@Pichu0102 no I already encoded a version of doom into the actual images that I posted on twitter. I don't need more "stuff doom in a png" tricks
-
@foone aren't there standards already for that? Would be an interesting area to dig.
-
@agorakit standards exist, yes, but are they supported?