>>6718
>* Use a quantizer like http://pngnq.sourceforge.net/ to compress the image.
It seems to be the most reasonable and easiest option to implement. I was doing some tests with the image of
>>6801 and these are my results:
Original size: 72.34 KB
Size after uploading from clipboard: 1.17 MB
Size after compressing the reuploaded image with pngnq: 208.54 KB
The only drawback is that the new replies may take a little longer to appear due to the additional processing required by using pngnq.
>* Save them as webp instead of png.
Beyond the bullshit, it could be useful in certain cases.
In this chan it wouldn't make much sense (I think), but if you manage a chan and it runs on a VPS with space limitations, then it would be necessary to save every MB you can.
One way to achieve this would be with some option to indicate in which format by default to save the images that come from the clipboard (png, jpg or webp), perhaps along with an explanation of the pros and cons of each.
>>6723
>Imageboards thrive on the ability to use lossless, artifact-free formats
But that does not mean that it can be used for everything indiscriminately. For example, with
https://commons.wikimedia.org/wiki/File:Vienna-big.tif (which weighs 3.94 GB) I got the following when I converted it into these formats:
PNG: 2034.84 MB
JPG (92% quality): 171.08 MB
As you can see, using png is not always ideal.
Message too long. Click
here
to view full text.