Open bjornbytes opened 3 years ago
compression is really useful, strongly support exposing it. over in my voxel project compression is the difference between <100mb and gigabytes of ram usage for the same data set.
I quite like the implementations here, stb_image can probably be told to use it and the filesystem module can also use it.
Darn, stb_image doesn't have a built-in way of switching out its zlib implementation (only stb_image_write does)
Expose deflate since that is already used all over the place. Unsure if compression should be exposed though -- it's a lot more complicated and is currently not used for anything. Would be nice for doing project exports maybe, but in a way those are kinda better off uncompressed.