We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cef576e commit 0877262Copy full SHA for 0877262
src/Magick.NET/MagickImage.cs
@@ -7374,6 +7374,8 @@ private MagickReadSettings CreateReadSettings(IMagickReadSettings<QuantumType>?
7374
else
7375
newReadSettings = new MagickReadSettings(readSettings);
7376
7377
+ newReadSettings.ForceSingleFrame();
7378
+
7379
return newReadSettings;
7380
}
7381
src/Magick.NET/Settings/MagickReadSettings.cs
@@ -125,6 +125,12 @@ public bool UseMonochrome
125
/// </summary>
126
public uint? Width { get; set; }
127
128
+ internal void ForceSingleFrame()
129
+ {
130
+ FrameCount = 1;
131
+ ApplyFrame();
132
+ }
133
134
private static string GetDefineKey(IDefine define)
135
{
136
if (define.Format == MagickFormat.Unknown)
0 commit comments