From e9a32a966d49ab798a4c6f24471669fc03adb395 Mon Sep 17 00:00:00 2001 From: Dylan Date: Thu, 2 Apr 2026 11:58:24 +1300 Subject: feat: Added basic zlib compression Currently not incredibly well implemented, but it can handle fixed codes --- src/PNGImage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/PNGImage.cpp') diff --git a/src/PNGImage.cpp b/src/PNGImage.cpp index 9ab0751..677c811 100644 --- a/src/PNGImage.cpp +++ b/src/PNGImage.cpp @@ -185,7 +185,7 @@ namespace TehImage char outData[1024]; - ZLibInflator inflator; + ZLib inflator; inflator.decodeData((uint8_t*)compressedData, chunkSize - 4, (uint8_t*)outData, 1024); cout << "iCCP not supported" << endl; -- cgit v1.2.3