Compress ByteTensors in-memory using libpng.

Compress a 2 or more dimensional ByteTensor into a ByteStorage using libpng.