mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 08:47:28 +01:00
Add animation blend and disposal concepts
This commit is contained in:
1 parent
ba05d5beed
commit
6df342c60c
18 files changed
+762
-128
No files matched your search
@@ -488,7 +488,8 @@ pri func decoder.decode_id_part1?(dst ptr base.image_buffer, src base.io_reader)
|
||||
// Both this frame and the previous one used the global palette. No
|
||||
// palette update is necessary.
|
||||
}
|
||||
in.dst.update!(dirty_rect:this.frame_rect, duration:this.gc_duration, palette:palette)
|
||||
in.dst.update!(dirty_rect:this.frame_rect, duration:this.gc_duration,
|
||||
blend:true, disposal:0, palette:palette)
|
||||
|
||||
this.previous_use_global_palette = not use_local_palette
|
||||
|
||||
|
||||
Reference in new issue
Block a user