summaryrefslogtreecommitdiff
path: root/png.h
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2017-09-06 17:22:46 +1200
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2017-09-06 17:22:46 +1200
commit95046512a4f7b63b78f8dcfee6462f375f129b44 (patch)
treef34743869d5cd3c3887413afa4e4c251f567cf20 /png.h
parent4e9839d4536e5509c9409ff99f96dc57addebf8d (diff)
downloadlibpng-95046512a4f7b63b78f8dcfee6462f375f129b44.tar.gz
Add support for loading images with associated alpha.
Diffstat (limited to 'png.h')
-rw-r--r--png.h2
1 files changed, 2 insertions, 0 deletions
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: