diff options
author | John Bowler <jbowler@acm.org> | 2011-05-07 21:00:28 -0500 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2011-05-07 21:00:28 -0500 |
commit | d273ad2d0f183ee27fc2be043ff1d2f890cf0162 (patch) | |
tree | 80c8af92a16366798664448471c88fbe044504aa /scripts | |
parent | af855e415d541ac2bc3a6730fc0019a13fc37274 (diff) | |
download | libpng-d273ad2d0f183ee27fc2be043ff1d2f890cf0162.tar.gz |
[devel] Implementation of premultiplied alpha support: png_set_alpha_mode
(libpng-manual.txt still to be updated, see png.h for documentation.)
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/pnglibconf.dfa | 4 | ||||
-rw-r--r-- | scripts/pnglibconf.h.prebuilt | 1 | ||||
-rw-r--r-- | scripts/symbols.def | 2 |
3 files changed, 6 insertions, 1 deletions
diff --git a/scripts/pnglibconf.dfa b/scripts/pnglibconf.dfa index 3d534a186..79377e3ee 100644 --- a/scripts/pnglibconf.dfa +++ b/scripts/pnglibconf.dfa @@ -311,11 +311,13 @@ option READ_BGR requires READ_TRANSFORMS option READ_SWAP requires READ_TRANSFORMS READ_16BIT option READ_PACKSWAP requires READ_TRANSFORMS option READ_INVERT requires READ_TRANSFORMS -option READ_BACKGROUND requires READ_TRANSFORMS +option READ_BACKGROUND requires READ_TRANSFORMS enables READ_STRIP_ALPHA option READ_16_TO_8 requires READ_TRANSFORMS option READ_FILLER requires READ_TRANSFORMS option READ_GAMMA requires READ_TRANSFORMS enables READ_gAMA option READ_GRAY_TO_RGB requires READ_TRANSFORMS + +option READ_ALPHA_MODE requires READ_TRANSFORMS enables READ_GAMMA option READ_SWAP_ALPHA requires READ_TRANSFORMS option READ_INVERT_ALPHA requires READ_TRANSFORMS option READ_STRIP_ALPHA requires READ_TRANSFORMS diff --git a/scripts/pnglibconf.h.prebuilt b/scripts/pnglibconf.h.prebuilt index 663af7972..e1046687b 100644 --- a/scripts/pnglibconf.h.prebuilt +++ b/scripts/pnglibconf.h.prebuilt @@ -69,6 +69,7 @@ #define PNG_PROGRESSIVE_READ_SUPPORTED #define PNG_READ_16BIT_SUPPORTED #define PNG_READ_16_TO_8_SUPPORTED +#define PNG_READ_ALPHA_MODE_SUPPORTED #define PNG_READ_ANCILLARY_CHUNKS_SUPPORTED #define PNG_READ_BACKGROUND_SUPPORTED #define PNG_READ_BGR_SUPPORTED diff --git a/scripts/symbols.def b/scripts/symbols.def index 66a0120a8..ef3b0287c 100644 --- a/scripts/symbols.def +++ b/scripts/symbols.def @@ -232,3 +232,5 @@ EXPORTS png_set_text_compression_strategy @224 png_set_text_compression_window_bits @225 png_set_text_compression_method @226 + png_set_alpha_mode @227 + png_set_alpha_mode_fixed @228 |