设置GIF默认背景颜色为纯白透明背景
This commit is contained in:
@@ -15,6 +15,9 @@ namespace SpineViewer.Exporter.Implementations.ExportArgs
|
|||||||
{
|
{
|
||||||
public GifExportArgs(Size resolution, SFML.Graphics.View view, bool renderSelectedOnly) : base(resolution, view, renderSelectedOnly)
|
public GifExportArgs(Size resolution, SFML.Graphics.View view, bool renderSelectedOnly) : base(resolution, view, renderSelectedOnly)
|
||||||
{
|
{
|
||||||
|
// 给一个纯白的背景
|
||||||
|
BackgroundColor = new(255, 255, 255, 0);
|
||||||
|
|
||||||
// GIF 的帧率不能太高, 超过 50 帧反而会变慢
|
// GIF 的帧率不能太高, 超过 50 帧反而会变慢
|
||||||
FPS = 12;
|
FPS = 12;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user