aboutsummaryrefslogtreecommitdiff
path: root/src/PNGImage.cpp
diff options
context:
space:
mode:
authorDylan <boss@tehbox.org>2026-04-02 11:58:24 +1300
committerDylan <boss@tehbox.org>2026-04-02 11:58:24 +1300
commite9a32a966d49ab798a4c6f24471669fc03adb395 (patch)
tree6373120682604c489816df391c45f17841a838b6 /src/PNGImage.cpp
parent93a78ac64327b53f53952b625c7ce8a11bcc8651 (diff)
downloadtehimage-e9a32a966d49ab798a4c6f24471669fc03adb395.tar.gz
tehimage-e9a32a966d49ab798a4c6f24471669fc03adb395.zip
feat: Added basic zlib compression
Currently not incredibly well implemented, but it can handle fixed codes
Diffstat (limited to 'src/PNGImage.cpp')
-rw-r--r--src/PNGImage.cpp2
1 files changed, 1 insertions, 1 deletions
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;