[ home / bans / all ] [ amv / jp ] [ maho ] [ f / ec ] [ qa / b / poll ] [ tv / bann ] [ toggle-new ]

/jp/ - 2D/Random

New Reply

Options
Comment
File
Whitelist Token
Spoiler
Password (For file deletion.)
Markup tags exist for bold, itallics, header, spoiler etc. as listed in " [options] > View Formatting "


[Return] [Bottom] [Catalog]

File:b18a86baaa53aaab7971b00ec0….png (10.72 MB,2894x4093)

 No.121289

>>>/maho/6597
Emails are so stupid.
Back in my days, we hunted tigers in the bushes.

 No.121343

File:782ec2c5fc8c3b0e4ae9cded06….jpg (222.38 KB,1130x1684)

Egrets, I've had a few.
But then again, too few to mention.

 No.121348

File:onpu yuck.jpg (136.54 KB,960x720)

>.png (10.72 MB,

 No.121699

File:Untitled.png (7.77 MB,2894x4093)

>>121348
I've been reading the specification for the PNG file format so I'm going to derail this thread a little bit here
Let's do some math: an uncompressed is mainly an array of pixels, let's assume the pixels have 4 channels (RGBA) and each channel takes one byte, that's 4 bytes per pixel. In reality image files also contain more info like metadata, headers and so on, but these are usually negligible in size.

so:
>>121289
has
2894 * 4093 = 11845142 pixels
which amount to
(11845142 * 4) / 1000000 = 47.38 Megabytes, that means the png has a compression ratio of
47.38 / 10.72 = 4.42
Pretty impressive if you ask me, the image was compressed to 23% of its original size, but this is actually not good enough for a png
Compare this to
>>121343
which has
1130 * 1684 = 1902920 pixels
which amount to
(1902920 * 4) / 1000000 = 7.61 Megabytes
The compression ratio here is 34.22, or we could say that the image was compressed to %3 of its original size, the reason here is mainly because this image contains a lot of the same color (white) which is handled pretty well by run length encoding
And looking >>121289 I assumed at least there would be better compression on that shab's face and hair, but upon further inspection, it appears this image contains more gradients than it looks like, which explains the bad compression ratio here
This can be seen more clearly by "uncorrecting" the gamma, i did this by performing a linear invert, followed by a regular color invert with gamma correction. Surprisingly the image size has been lowered, I assume this is because the roof was blackened? PNG filters are indeed complicated and work in mysterious ways

 No.121728

File:1786347721969.png (8.14 MB,2894x4093)

>>121699
Optimized via FileOptimizer[1] achieved 8.1 MiB (8,536,071B) compared to the original 10.7 MiB (11,244,010B). 75.9% of the original. It uses a chain of multiple PNG optimization techniques, via the following:
- OxiPNG 9.1.5 - https://github.com/shssoichiro/oxipng
- PngOptimizer 2.7 - http://psydk.org/PngOptimizer
- PNGOUT 02/13/2015 - http://advsys.net/ken/utils.htm
- pngquant 2.17.0 - http://www.pngquant.org
- pngrewrite 1.4.0 - http://entropymine.com/jason/pngrewrite
- pngwolf-zopli 1.1.2 - https://github.com/jibsen/pngwolf-zopfli
- TruePNG 0.6.2.5 - http://x128.ho.ua/pngutils.html

[1] https://nikkhokkho.sourceforge.io/?page=FileOptimizer

 No.121819

>>121348
open it up in winrar for free dolphin porn




[Return] [Top] [Catalog] [Post a Reply]
Delete Post [ ]

[ home / bans / all ] [ amv / jp ] [ maho ] [ f / ec ] [ qa / b / poll ] [ tv / bann ] [ toggle-new ]