this post was submitted on 03 Dec 2024
35 points (97.3% liked)

Internet is Beautiful

774 readers
110 users here now

Welcome to Internet is Beautiful Lemmy and Mbin community.

Find a cool or useful website on the internet. Share it here so others Lemmings can bookmark it too.


Rules

Related Communities

founded 1 month ago
MODERATORS
top 6 comments
sorted by: hot top controversial new old
[โ€“] FQQD@lemmy.ohaa.xyz 3 points 2 weeks ago (1 children)
[โ€“] luciole@beehaw.org 5 points 2 weeks ago

"640KB ought to be enough for anybody"

[โ€“] perishthethought@lemm.ee 1 points 2 weeks ago (1 children)
[โ€“] BigDanishGuy@sh.itjust.works 3 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

I could see reasons.

Like the original twitter concept, where you had to limit yourself. The pics I just saw when opening the link were horrible, but so is twitter, but that's not the point.

If you do pixel paint a good old bitmap, instead of compressing a too high resolution file like you're trying to speed run hemorrhoids, then you could use the standard 32bpp, giving you 16.8 million colors and have pixels to work with. That gives you roughly 300 pixels (or 15x20), which isn't a lot, but still enough room for artistic expression. When I say roughly it's because I can't remember how much is used for metadata, but IRC it's less than 30bytes.

If you play around with the bit depth you'll need a bit more bytes for the header, but you can use a monochrome palette instead and theoretically get it down to 1bpp which should give you close to 8000 pixels, or 80x100.

Is it super duper 8k high def HDR? Of course not, but when you impose a 1kB limit then HD is kinda hard to achieve.

Maybe you can get something more, if you tried manually creating a jpg, like in a hexeditor, but I don't really know, I've only done bitmaps by hand.

Perhaps playing with discrete cosine transform after watching https://m.youtube.com/watch?v=n_uNPbdenRs and https://m.youtube.com/watch?v=Q2aEzeMDHMA you could actually make jpegs by hand.

[โ€“] insomniac_lemon@lemmy.cafe 1 points 2 weeks ago* (last edited 2 weeks ago)

I'm interested in vector/polygon (+vertex color) stuff due to high fidelity for low data cost, but even for that 1KiB is a huge restriction.

I made a polygon loader and text format, and even there the .txt file is 1.2KiB for a 32x32 grid (though my 16x16 ones are mostly 390 bytes, a 31x15 oval is 630 bytes).

[โ€“] Cris_Color@lemmy.world 1 points 2 weeks ago