From f9888b23dd1f7d5f3f1bc3493f61212a075c0b41 Mon Sep 17 00:00:00 2001 From: ww-rm Date: Sun, 30 Mar 2025 11:56:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AEGIF=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E8=83=8C=E6=99=AF=E9=A2=9C=E8=89=B2=E4=B8=BA=E7=BA=AF=E7=99=BD?= =?UTF-8?q?=E9=80=8F=E6=98=8E=E8=83=8C=E6=99=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Exporter/Implementations/ExportArgs/GifExportArgs.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SpineViewer/Exporter/Implementations/ExportArgs/GifExportArgs.cs b/SpineViewer/Exporter/Implementations/ExportArgs/GifExportArgs.cs index 2266f77..4e51467 100644 --- a/SpineViewer/Exporter/Implementations/ExportArgs/GifExportArgs.cs +++ b/SpineViewer/Exporter/Implementations/ExportArgs/GifExportArgs.cs @@ -15,6 +15,9 @@ namespace SpineViewer.Exporter.Implementations.ExportArgs { public GifExportArgs(Size resolution, SFML.Graphics.View view, bool renderSelectedOnly) : base(resolution, view, renderSelectedOnly) { + // 给一个纯白的背景 + BackgroundColor = new(255, 255, 255, 0); + // GIF 的帧率不能太高, 超过 50 帧反而会变慢 FPS = 12; }