A simple library to compress 3d map pixel painting for SlopeCraft.
This lib consists of a header file and its corresponding source file. It is used to lower the maxium height of a 3d pixel painting with every pixel's color unchanged, preventing the height of large images from surpassing 256 as long as possible.
这是一个比较简陋的压缩立体地图画总高度的库,由一个头文件和一个源文件构成。它们构成了一个简单的api,用于无损的压缩地图画,尽量避免地图画超过限高。