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/deflate.h | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 lisiblepng/src/deflate.h (limited to 'lisiblepng/src/deflate.h') diff --git a/lisiblepng/src/deflate.h b/lisiblepng/src/deflate.h deleted file mode 100644 index 77100c6..0000000 --- a/lisiblepng/src/deflate.h +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef LISIBLE_PNG_DEFLATE_H -#define LISIBLE_PNG_DEFLATE_H - -#include -#include -#include - -/// Decompresses zlib compressed data as defined by RFC 1950 -/// -/// @return A pointer to the decompressed data, the caller is responsible to -/// deallocate it using free(). In case of error, NULL is returned. -char *zlib_decompress(const uint8_t *compressed_data_buffer, - const size_t compressed_data_length); - -#endif // LISIBLE_PNG_DEFLATE_H -- cgit v1.2.3