private static byte[] getFixedIdatDataBytes(ByteArrayOutputStream idatChunks) {

		//Prepend the needed Zlib header info to the IDAT chunk data
		byte[] idatData = idatChunks.toByteArray();
		byte[] fixedIdatData = new byte[idatData.length + 2];
		fixedIdatData[0] = ZLIB.ZLIB_COMPRESSION_DEFAULT[0];
		fixedIdatData[1] = ZLIB.ZLIB_COMPRESSION_DEFAULT[1];
		for (int i = 0; i < idatData.length; i++) {
			fixedIdatData[i + 2] = idatData[i];
		}
		return fixedIdatData;
	}
Prepends the needed Zlib header to the set of idatChunks 
in order to inflate the bytes
@param idatChunks the set of idat chunks
@return idat chunks with the new header
Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/ios/png/CrushedPNGUtil.java