Here's a fun challenge for the few smart /g/ anons here who aren't talking about slop all the time:
This PNG is lossy but it does not use PNG-8, it is a fully compliant PNG-24 created with rdopng.
How can you prove that it's lossy?
← /g/
Thread No.110508718
New launches split creator fees 50% to the poster and 50% to the launcher. No tripcode is needed to launch; poster claims require verified ownership.
>>110509004
C:\Users\PINGAS\Pictures\PNG_ENCODERS>rdopng -lambda 250 in.png
rdopng v1.09
Read Oklab table data from file oklab.bin
Loaded file "in.png", 3840x2160, has alpha: 0, size: 6613280, bpp: 6.379
Stage 1
Stage 2
RGB Max: 62 Mean: 0.451 RMS: 0.897 PSNR: 49.071 dB
R Max: 62 Mean: 0.505 RMS: 0.993 PSNR: 48.192 dB
G Max: 34 Mean: 0.334 RMS: 0.731 PSNR: 50.853 dB
B Max: 37 Mean: 0.516 RMS: 0.947 PSNR: 48.607 dB
Y 709 Max: 25 Mean: 0.357 RMS: 0.737 PSNR: 50.783 dB
Compressed file size: 4744961, Bitrate: 4.577 bits/pixel, RGB(A) Effectiveness: 10.722 PSNR per bits/pixel, Y: 11.096 PSNR per bits/pixel
Encoded in 82.764 secs
Wrote output file "in_rdo.png"
C:\Users\PINGAS\Pictures\PNG_ENCODERS>oxipng -o max -Z --strip safe in_rdo.png
Files processed: 1/1
Input size: 4.53 MiB (4744961 bytes)
Output size: 3.85 MiB (4036258 bytes)
Total saved: 692 KiB (14.94%)
C:\Users\PINGAS\Pictures\PNG_ENCODERS>ssimulacra2 in.png in_rdo.png
90.13856090
Original 6.3MB PNG: https://files.catbox.moe/ooxn1b.png
C:\Users\PINGAS\Pictures\PNG_ENCODE
rdopng v1.09
Read Oklab table data from file oklab.bin
Loaded file "in.png", 3840x2160, has alpha: 0, size: 6613280, bpp: 6.379
Stage 1
Stage 2
RGB Max: 62 Mean: 0.451 RMS: 0.897 PSNR: 49.071 dB
R Max: 62 Mean: 0.505 RMS: 0.993 PSNR: 48.192 dB
G Max: 34 Mean: 0.334 RMS: 0.731 PSNR: 50.853 dB
B Max: 37 Mean: 0.516 RMS: 0.947 PSNR: 48.607 dB
Y 709 Max: 25 Mean: 0.357 RMS: 0.737 PSNR: 50.783 dB
Compressed file size: 4744961, Bitrate: 4.577 bits/pixel, RGB(A) Effectiveness: 10.722 PSNR per bits/pixel, Y: 11.096 PSNR per bits/pixel
Encoded in 82.764 secs
Wrote output file "in_rdo.png"
C:\Users\PINGAS\Pictures\PNG_ENCODE
Files processed: 1/1
Input size: 4.53 MiB (4744961 bytes)
Output size: 3.85 MiB (4036258 bytes)
Total saved: 692 KiB (14.94%)
C:\Users\PINGAS\Pictures\PNG_ENCODE
90.13856090
Original 6.3MB PNG: https://files.catbox.moe/ooxn1b.png
>>110509039
are you retarded? PNG only does lossless compression, if decode(encode()) != image then is means your encoder/decoder fucked something up.
are you retarded? PNG only does lossless compression, if decode(encode()) != image then is means your encoder/decoder fucked something up.
>>110509058
>rdopng is a command line tool which uses LZ match optimization, Lagrangian multiplier rate distortion optimization (RDO), a simple perceptual error tolerance model, and Oklab-based colorspace error metrics to encode lossy 24/32bpp PNG/QOI/LZ4I files.
>The encoded lossy PNG files are typically 30-80% smaller relative to lodepng/libpng
https://github.com/richgel999/rdopng
>rdopng is a command line tool which uses LZ match optimization, Lagrangian multiplier rate distortion optimization (RDO), a simple perceptual error tolerance model, and Oklab-based colorspace error metrics to encode lossy 24/32bpp PNG/QOI/LZ4I files.
>The encoded lossy PNG files are typically 30-80% smaller relative to lodepng/libpng
https://github.com/richgel999/rdopn
>>110509112
this not an issue with the png format this is an issue with you creating a new fucking png using a lossy compression method.
wtf is the point of this thread? if you encode an image as jpg then convert it to png you also get lossy results. do you expect the extension to magically recover information?
this not an issue with the png format this is an issue with you creating a new fucking png using a lossy compression method.
wtf is the point of this thread? if you encode an image as jpg then convert it to png you also get lossy results. do you expect the extension to magically recover information?
>>110509165
Yes because the tool creates a backup image.png.bak file
Yes because the tool creates a backup image.png.bak file
>>110509165
>How can you prove that it's lossy?
Or if you want to be super pedantic about it: What are some investigative methods that you could employ to arrive at a conclusion that my OP PNG is not a mathematically lossless representation of https://files.catbox.moe/ooxn1b.png ?
>How can you prove that it's lossy?
Or if you want to be super pedantic about it: What are some investigative methods that you could employ to arrive at a conclusion that my OP PNG is not a mathematically lossless representation of https://files.catbox.moe/ooxn1b.png
>>110509183
1) Decode your PNG in OP
2) Decode your "canonical" PNG
3) memcmp
4) See that they are not equal
1) Decode your PNG in OP
2) Decode your "canonical" PNG
3) memcmp
4) See that they are not equal

>>110509269
You're almost there, now do it without access to the "canonical" PNG. Assume my OP PNG is the only PNG you have available.
You're almost there, now do it without access to the "canonical" PNG. Assume my OP PNG is the only PNG you have available.
>>110509301
The problem is that there is no way to tell whether the OP PNG is actually the canonical PNG.
I understand what you're trying to get at but it's going to be a weak fingerprint at best. You could probably do some kind of Fourier transform and frequency analysis but the issue is again showing that there is an anomaly that *isn't present in the canonical image.*
The problem is that there is no way to tell whether the OP PNG is actually the canonical PNG.
I understand what you're trying to get at but it's going to be a weak fingerprint at best. You could probably do some kind of Fourier transform and frequency analysis but the issue is again showing that there is an anomaly that *isn't present in the canonical image.*
>>110509183
>What are some investigative methods that you could employ to arrive at a conclusion that my OP PNG is not a mathematically lossless representation of https://files.catbox.moe/ooxn1b.png ?
we'll jam it up your ass until you squeal
>What are some investigative methods that you could employ to arrive at a conclusion that my OP PNG is not a mathematically lossless representation of https://files.catbox.moe/ooxn1b.png
we'll jam it up your ass until you squeal
>>110509327
Damnit anon, you gave up too soon. On well, you made a better effort than the shit stains we have to share this board with.
On a happier note, have you found any good altchans now that /g/ is dying? I'm willing to give them a visit desu.
Damnit anon, you gave up too soon. On well, you made a better effort than the shit stains we have to share this board with.
On a happier note, have you found any good altchans now that /g/ is dying? I'm willing to give them a visit desu.
>>110509349
You're a fucking idiot and you don't deserve the attention the guy replying to you gave you
You're a fucking idiot and you don't deserve the attention the guy replying to you gave you
>>110509327
>>110509349
>the canonical PNG
what the fuck does that mean? just creating a bit map image in the first place is a lossy process, be it in a camera, a 3d renderer, a vector graphics renderer or mapping an artist's intent through a brush into a rasterized representation
what an absolutely inane and technologically illiterate point to raise
some specific compression methods will leave distinctive traces so you can tell a raster image was generated by one but that's it. do you assume images come from the realm of platonic ideals and PNG somehow guarantees that this ideal is represented losslessly? fucking mouth breathers
>>110509349
>the canonical PNG
what the fuck does that mean? just creating a bit map image in the first place is a lossy process, be it in a camera, a 3d renderer, a vector graphics renderer or mapping an artist's intent through a brush into a rasterized representation
what an absolutely inane and technologically illiterate point to raise
some specific compression methods will leave distinctive traces so you can tell a raster image was generated by one but that's it. do you assume images come from the realm of platonic ideals and PNG somehow guarantees that this ideal is represented losslessly? fucking mouth breathers


