depend on zlib and libpng