diff options
author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2017-09-06 17:22:46 +1200 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2017-09-06 17:22:46 +1200 |
commit | 95046512a4f7b63b78f8dcfee6462f375f129b44 (patch) | |
tree | f34743869d5cd3c3887413afa4e4c251f567cf20 /png.h | |
parent | 4e9839d4536e5509c9409ff99f96dc57addebf8d (diff) | |
download | libpng-95046512a4f7b63b78f8dcfee6462f375f129b44.tar.gz |
Add support for loading images with associated alpha.
Diffstat (limited to 'png.h')
-rw-r--r-- | png.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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: |