3 ms·
> You know what? The dithered image is not 36.5KB as the article claims, but a 76KB PNG. Incorrect, it is 36.5K: $ wget https://homebrewserver.club/images/i
by newnewpdro 8y ago
> You know what? The dithered image is not 36.5KB as the article claims, but a 76KB PNG.
Incorrect, it is 36.5K:
$ wget https://homebrewserver.club/images/international-switchboard3.png
--2019-03-16 12:41:11-- https://homebrewserver.club/images/international-switchboard3.png
Resolving homebrewserver.club (homebrewserver.club)... 87.214.157.230
Connecting to homebrewserver.club (homebrewserver.club)|87.214.157.230|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 37359 (36K) [image/png]
Saving to: ‘international-switchboard3.png’
international-switc 100%[===================>] 36.48K 26.4KB/s in 1.4s
2019-03-16 12:41:14 (26.4 KB/s) - ‘international-switchboard3.png’ saved [37359/37359]
When you tried reproducing the results using GIMP, were you creating similarly constrained indexed-color/paletted images?
You likely won't get the same compression levels with rgb pixels, you can use `pnginfo` to compare the file properties:
$ pnginfo international-switchboard3.png
international-switchboard3.png...
Image Width: 800 Image Length: 655
Bitdepth (Bits/Sample): 2
Channels (Samples/Pixel): 1
Pixel depth (Pixel Depth): 2
Colour Type (Photometric Interpretation): PALETTED COLOUR (4 colours, 0 transparent)
Image filter: Single row per byte filter
Interlacing: No interlacing
Compression Scheme: Deflate method 8, 32k window
Resolution: -547765670, 22093 (Unknown value for unit stored)
FillOrder: msb-to-lsb
Byte Order: Network (Big Endian)
Number of text strings: 0
- lucb1e 8y agoHuh that's weird, my Firefox definitely reported that. I also checked the other image, that size matched perfectly with the claim in the text. My first thought is http-level compression, but that shouldn't be that effective on an average image. (I'm not at my computer anymore so I can't check what you suggested right now.)