diff options
| author | Dylan <boss@tehbox.org> | 2026-03-18 16:28:27 +1300 |
|---|---|---|
| committer | Dylan <boss@tehbox.org> | 2026-03-18 16:28:27 +1300 |
| commit | 93a78ac64327b53f53952b625c7ce8a11bcc8651 (patch) | |
| tree | df2bcea7256df8acdab5cb51edb0b59291b5b89c /src/PNGImage.h | |
| parent | 8ca054ab8cf04e514df1570617b6a32ed83b9ea4 (diff) | |
| download | tehimage-93a78ac64327b53f53952b625c7ce8a11bcc8651.tar.gz tehimage-93a78ac64327b53f53952b625c7ce8a11bcc8651.zip | |
The file reader class can now support either endianness to read in,
and will convert to the native endianness
Diffstat (limited to 'src/PNGImage.h')
| -rw-r--r-- | src/PNGImage.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/PNGImage.h b/src/PNGImage.h index 3c1bf1f..a5d8f3a 100644 --- a/src/PNGImage.h +++ b/src/PNGImage.h @@ -19,10 +19,6 @@ namespace TehImage class PNGImage : public Image { - private: - ZLibInflator zlib; - uint8_t* idatData; - unsigned long idatDataSize; public: PNGImage(); ~PNGImage(); @@ -64,6 +60,10 @@ namespace TehImage CHUNK_READER(IDAT); CHUNK_READER(IEND); + ZLibInflator zlib; + uint8_t* idatData; + unsigned long idatDataSize; + bool end = false; Reader *reader; |
