Merge branch '8.3'

This commit is contained in:
John Cupitt 2016-08-19 16:22:09 +01:00
commit 5376a93866
3 changed files with 11 additions and 5 deletions

View File

@ -38,6 +38,9 @@
- add svgz support [Felix Bünemann]
- rename boostrap.sh -> autogen.sh to help snapcraft
19/8/16 started 8.3.4
- better transparency handling in gifload, thanks diegocsandrim
30/7/16 started 8.3.3
- fix performance regression in 8.3.2, thanks Lovell
- yet more robust vips file reading

View File

@ -37,9 +37,9 @@ VIPS_VERSION_STRING=$VIPS_VERSION-`date`
# binary interface changes backwards compatible?: increment age
# binary interface changes not backwards compatible?: reset age to 0
LIBRARY_CURRENT=46
LIBRARY_REVISION=3
LIBRARY_AGE=4
LIBRARY_CURRENT=47
LIBRARY_REVISION=1
LIBRARY_AGE=5
# patched into include/vips/version.h
AC_SUBST(VIPS_VERSION)

View File

@ -7,6 +7,8 @@
* 26/7/16
* - transparency was wrong if there was no EXTENSION_RECORD
* - write 1, 2, 3, or 4 bands depending on file contents
* 19/8/16
* - better transparency detection, thanks diegocsandrim
*/
/*
@ -513,9 +515,10 @@ vips_foreign_load_gif_to_memory( VipsForeignLoadGif *gif, VipsImage *out )
if( ext_code == GRAPHICS_EXT_FUNC_CODE &&
extension &&
extension[0] == 4 &&
extension[1] == 1 ) {
(extension[1] & 0x1) ) {
/* Bytes are 4, 1, delay low, delay high,
* transparency.
* transparency. Bit 1 means transparency
* is being set.
*/
gif->transparency = extension[4];
gif->has_transparency = TRUE;