From bb6f08f3c79efc7bb7877aca97cebd3dab8b7838 Mon Sep 17 00:00:00 2001 From: Clement Sibille Date: Tue, 5 Mar 2024 16:02:17 +0900 Subject: Implement PNG decompression This patch adds PNG decompression for images without interlacing and without alpha channel. Only basic image data is supported. Background, transparency, gamma, paletted images are not supported. --- lisiblepng/src/assert.h | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 lisiblepng/src/assert.h (limited to 'lisiblepng/src/assert.h') diff --git a/lisiblepng/src/assert.h b/lisiblepng/src/assert.h deleted file mode 100644 index 7d41b57..0000000 --- a/lisiblepng/src/assert.h +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef LISIBLE_PNG_ASSET_H -#define LISIBLE_PNG_ASSET_H - -#include "log.h" - -#define ASSERT(predicate) \ - do { \ - if (!(predicate)) { \ - LOGN("Assertion failed in %s:%d:\n\t%s", __FILE__, __LINE__, \ - #predicate); \ - exit(1); \ - } \ - } while (0) - -#endif // LISIBLE_PNG_ASSET_H -- cgit v1.2.3