Why does 'imwrite' not preserve transparency in animated GIFs?
10 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2019-1-18
回答: MathWorks Support Team
2019-3-21
When creating an animated GIF using the 'imwrite' function, previous frames are not cleared. How do I clear them?
采纳的回答
MathWorks Support Team
2019-1-18
To make sure that previous frames are cleared, set pass the Option-Value pair ('DisposalMethod','restoreBG') to the 'imwrite' function.
An example with a reproduction of the issue and a solution is shown in the attached script.
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!