![]() |
Exported png files get about 100 times larger than expected - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions) +--- Thread: Exported png files get about 100 times larger than expected (/Thread-Exported-png-files-get-about-100-times-larger-than-expected) |
Exported png files get about 100 times larger than expected - Grobe - 02-26-2024 Hi. Ok, so first - trying to upload the xcf file failed because of file size, so the only file possible to upload correctly is this png export settings. Here is the file description.
Edit : Solved while edit this post Ok, just figured the solution. The image precision was set to 32 bit floating point, and by converting to 8 bit integer, the exported PNG file became a nice 77kB file. I post this anyway in case somebody happens to stumble upon same issue. RE: Exported png files get about 100 times larger than expected - Ofnuts - 02-27-2024 If you are using any image precision higher than 8-bit, the export PNG is 16bpc by default. However you would expect this to only double the size of the PNG. But the PNG compression can only compress neighboring pixels of the exact same channel value, and with 16-bit or floating point the probability that these are equal is somewhat smaller so high precision images aren't as much compressed. |