From 2f51491db9e44d6fc0aeb6167974fd1d610fe7a7 Mon Sep 17 00:00:00 2001 From: Pin Date: Mon, 11 Oct 2021 23:18:17 -0400 Subject: [PATCH] wip --- include/crc_util.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/include/crc_util.h b/include/crc_util.h index 6eae8e2..3dfe9c2 100644 --- a/include/crc_util.h +++ b/include/crc_util.h @@ -1,7 +1,16 @@ #include // PNG File Struct -struct PNG +struct PNG_FILE_STRUCT { + unsigned char file_sig[8]; + int file_width; + int file_height; + int bit_depth; + int color_type; + int compression_method; + int filter_method; + int interlace_method; +}; extern const long png_signature[8];