summaryrefslogtreecommitdiff
path: root/png.h
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2017-09-23 14:53:44 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2017-09-23 15:11:18 -0500
commit4b7635ce727a8826be8b102214aec85b5456f8cf (patch)
tree34f90ae1091b24c3920785417cc1679d8462afa9 /png.h
parent96333b6bea59dd8d0659e46ec9426119d3fe5753 (diff)
parent95046512a4f7b63b78f8dcfee6462f375f129b44 (diff)
downloadlibpng-4b7635ce727a8826be8b102214aec85b5456f8cf.tar.gz
[libpng16] Support associated alpha in the simplified api
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 81f61107d..7697c3c40 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: