From 95046512a4f7b63b78f8dcfee6462f375f129b44 Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Wed, 6 Sep 2017 17:22:46 +1200 Subject: Add support for loading images with associated alpha. --- png.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'png.h') diff --git a/png.h b/png.h index 985b16b53..dfe441680 100644 --- a/png.h +++ b/png.h @@ -2819,6 +2819,8 @@ typedef struct # define PNG_FORMAT_FLAG_AFIRST 0x20U /* alpha channel comes first */ #endif +#define PNG_FORMAT_FLAG_ASSOCIATED_ALPHA 0x40U /* alpha channel is associated */ + /* Commonly used formats have predefined macros. * * First the single byte (sRGB) formats: -- cgit v1.2.1