@@ -212,7 +212,7 @@ public void Issue1530_BadDescriptorDimensions<TPixel>(TestImageProvider<TPixel>
212212 public void Issue405_BadApplicationExtensionBlockLength < TPixel > ( TestImageProvider < TPixel > provider )
213213 where TPixel : unmanaged, IPixel < TPixel >
214214 {
215- using Image < TPixel > image = provider . GetImage ( ) ;
215+ using Image < TPixel > image = provider . GetImage ( GifDecoder . Instance , new ( ) { MaxFrames = 1 } ) ;
216216 image . DebugSave ( provider ) ;
217217
218218 image . CompareFirstFrameToReferenceOutput ( ImageComparer . Exact , provider ) ;
@@ -224,7 +224,7 @@ public void Issue405_BadApplicationExtensionBlockLength<TPixel>(TestImageProvide
224224 public void Issue1668_InvalidColorIndex < TPixel > ( TestImageProvider < TPixel > provider )
225225 where TPixel : unmanaged, IPixel < TPixel >
226226 {
227- using Image < TPixel > image = provider . GetImage ( ) ;
227+ using Image < TPixel > image = provider . GetImage ( GifDecoder . Instance , new ( ) { MaxFrames = 1 } ) ;
228228 image . DebugSave ( provider ) ;
229229
230230 image . CompareFirstFrameToReferenceOutput ( ImageComparer . Exact , provider ) ;
@@ -273,7 +273,7 @@ TestImageProvider<Rgba32> provider
273273 public void Issue1962 < TPixel > ( TestImageProvider < TPixel > provider )
274274 where TPixel : unmanaged, IPixel < TPixel >
275275 {
276- using Image < TPixel > image = provider . GetImage ( ) ;
276+ using Image < TPixel > image = provider . GetImage ( GifDecoder . Instance , new ( ) { MaxFrames = 1 } ) ;
277277 image . DebugSave ( provider ) ;
278278
279279 image . CompareFirstFrameToReferenceOutput ( ImageComparer . Exact , provider ) ;
@@ -285,7 +285,7 @@ public void Issue1962<TPixel>(TestImageProvider<TPixel> provider)
285285 public void Issue2012EmptyXmp < TPixel > ( TestImageProvider < TPixel > provider )
286286 where TPixel : unmanaged, IPixel < TPixel >
287287 {
288- using Image < TPixel > image = provider . GetImage ( ) ;
288+ using Image < TPixel > image = provider . GetImage ( GifDecoder . Instance , new ( ) { MaxFrames = 1 } ) ;
289289
290290 image . DebugSave ( provider ) ;
291291 image . CompareFirstFrameToReferenceOutput ( ImageComparer . Exact , provider ) ;
0 commit comments