summaryrefslogtreecommitdiffstats
path: root/lisiblepng/src/deflate.h
diff options
context:
space:
mode:
authorClement Sibille <clements+git@lisible.xyz>2024-03-05 16:02:17 +0900
committerClement Sibille <clements+git@lisible.xyz>2024-03-05 16:45:45 +0900
commitbb6f08f3c79efc7bb7877aca97cebd3dab8b7838 (patch)
tree9b3405e607c1f746a7061730adcf831c50a9f70b /lisiblepng/src/deflate.h
parente1e5b4e92bcd460b43ce1b852560751b6525593e (diff)
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.
Diffstat (limited to 'lisiblepng/src/deflate.h')
-rw-r--r--lisiblepng/src/deflate.h15
1 files changed, 0 insertions, 15 deletions
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 <stdbool.h>
-#include <stdint.h>
-#include <stdlib.h>
-
-/// 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
Go back to lisible.xyz