it has been zero days since I started building another meme generation tool.
based on https://xkcd.com/2501/
it has been zero days since I started building another meme generation tool.
based on https://xkcd.com/2501/
This image is actually an SVG that I'm intentionally exporting to a tiny JPEG to get lower quality text to match the original.
I'm using the xkcd-script font to try and match the original text as much as possible.
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
@glyph well, that saves me some time
@foone https://www.iptc.org/std/photometadata/specification/IPTC-PhotoMetadata#description
@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
@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.
@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 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?
@agorakit standards exist, yes, but are they supported?
@foone aren't there standards already for that? Would be an interesting area to dig.
076萌SNS is a social network, courtesy of 076. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.
All 076萌SNS content and data are available under the Creative Commons Attribution 3.0 license.