added zlib compression to depth and infrared demos