Kampidh
banner
kampidh.com
Kampidh
@kampidh.com
730 followers 33 following 300 posts
Zephyr's journey of segmentation faults | Code dumps and rants, not an art account | Gallery: https://kampidh.com/gallery/artworks | Mostly works with C++ and webdev stuffs
Posts Media Videos Starter Packs
Pinned
Kampidh @kampidh.com · Oct 24
Let me make a thread of some of my tools that I publicly posted 🧵
AFAIK the contamination zone is quite far from my place though~ not to mention that shrimps here are farmed locally (and I rarely eat shrimps as well lmao)
So I just realized that radioactive shrimp issues originated from ID..

Just in time for my dosimeter got delivered
It is meant to be viewed at 100% pixel scale (1:1) xD
no luck, still got chroma downsampled and turns grayscale (while it should be in yellow-blue dither)

but at least this version have slightly more contrast~

(tip: for the image to show, it has to be viewed at 100% or with a viewer that have gamma-corrected scaling)
oh my sweet chroma--
yeah, highly possible

not to mention my website have a not-so-hidden recursive trap that can generate quite a vast number of unique links and pages that irresistible to those crawlers
or third option, just 301 them to the proper side trap.

and see who's gonna win, trillion dollar datacenters or a few ~$3 a piece ESP32 web servers.
this is only from that suspicious A*iba*a IP range, since my main recursion trap shown here should block any well-behaved crawlers/scrappers (which doesn't spoof their UA).

already feel kinda unsure to keep letting them scrape all those garbage or call it a day and block those IP range altogether.
man that's a lot of garbage text data they scraped for the past month until today.. and it seems to occur in a weekly cycle

furthermore, this is with bandwidth limit enabled. can't even imagine if my hosting server had much beefier specs and bandwidth...
how could I never saw nyabootmon holy cow they're precious hhhh---
*trying to figure out in what format the images are stored*
Soft robots are already exist, so it should be a matter of courage (?)
Not quite a full modding, but yeah something to indulge myself =p

x.com/StashofVel/s...
x.com
ughh, math bite me hard. apparently there was a slight miscalculation that gave me slight greenish tint even at 100%.

fixed pic, though non-linear colorspace scaling or chroma subsampling still give a greenish tint~
(I think) it's mainly because I linearize the R and B channels first before dithering, since it will got truncated to 1 bit.

this is fine when viewed at 100%, but broke if not resized in a linear space: usage.imagemagick.org/resize/#resi...

in my case here, the effect can be pretty severe~
Resizing or Scaling -- ImageMagick Examples
usage.imagemagick.org
close-up~ it's just a basic ordered / bayer dithering, but the bitdepth (R1G2B1) is kinda unusual, therefore it got a bit more shades of green available.

but I think that's not the main reason why it got a greenish tint when resizing or chroma downsampling~
this kinda shows that bsky does convert (to 4:2:0 chroma? whether it's plain jpeg, webp, or avif) on upload. since I didn't get the lossless file even with directly requesting it as PNG.

which is fair for a default behavior to save space, though with this kind of image it can get more bloated~ :p
yup, although this is just an edge case test~ pretty sure it'll be just fine for most cases
the original image is an indexed PNG, originally comes from reducing the image into 4 bit (R1G2B1).

it should be displayed correctly when viewed at 100%, or scaled when opened on a viewer that has a linear(?) interpolation, CMIIW.

here's a comparison when opening it in tev vs win photos at 50%
oh lmao this doesn't work, it broke instantly as it got compressed in a lossy manner~