hellgauss
28th April 2026, 16:54
I have the following problem while taking screenshots of 4K hdr10 video (Windows11).
For maximum quality, I use mpv.net @16bit and tonemapped. Format png - I need lossless, or at least lossless up to pixel-format conversion.
I need to upload images to free image hosting sites compatible with forum-boards, the best I find are imagebam and imgbb, which have a 30-32 MB file size cap.
However the filesize of the screenshots often exceeds that limit. I tried optipng.exe which reduces the bitdepth from 64 to 48bit, discarding the useless alpha channel, and also performs some lossless optimizations but it is not enough.
I think a good compromise could be to switch to 12bit x 3 channels (RGB), and compress as 16bit-png with less significant digits set to 0 to gain in compression, but I do not know how to do it.
I can write simple c/c++ scripts to parse raw data and do it manually, but it seems that the .bmp format does not support 16bit per channel. Is there any not compressed image format which stores 16 bit as RGB? Or any image format which use 12 bit lossless and can be converted to png-16bit via command line?
Thank you
HG
For maximum quality, I use mpv.net @16bit and tonemapped. Format png - I need lossless, or at least lossless up to pixel-format conversion.
I need to upload images to free image hosting sites compatible with forum-boards, the best I find are imagebam and imgbb, which have a 30-32 MB file size cap.
However the filesize of the screenshots often exceeds that limit. I tried optipng.exe which reduces the bitdepth from 64 to 48bit, discarding the useless alpha channel, and also performs some lossless optimizations but it is not enough.
I think a good compromise could be to switch to 12bit x 3 channels (RGB), and compress as 16bit-png with less significant digits set to 0 to gain in compression, but I do not know how to do it.
I can write simple c/c++ scripts to parse raw data and do it manually, but it seems that the .bmp format does not support 16bit per channel. Is there any not compressed image format which stores 16 bit as RGB? Or any image format which use 12 bit lossless and can be converted to png-16bit via command line?
Thank you
HG