Merge branch '8.12'
This commit is contained in:
commit
c278f9019d
|
@ -10,6 +10,7 @@
|
|||
- change default frame delay for GIFs from 1s to 0.1s
|
||||
- remove stray trailing comma from iiif3 dirnames [whalehub]
|
||||
- fix TTF load [chregu]
|
||||
- revise GIF save alpha threshold [jfcalvo]
|
||||
|
||||
21/11/21 started 8.12.1
|
||||
- fix insert [chregu]
|
||||
|
|
|
@ -188,7 +188,7 @@ vips_foreign_save_cgif_write_frame( VipsForeignSaveCgif *cgif )
|
|||
*/
|
||||
p = frame_bytes;
|
||||
for( i = 0; i < n_pels; i++ ) {
|
||||
p[3] = p[3] > 128 ? 255 : 0;
|
||||
p[3] = p[3] >= 128 ? 255 : 0;
|
||||
p += 4;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue