@@ -364,13 +364,6 @@ public void TiffDecoder_CanDecode_32Bit_WithUnassociatedAlpha<TPixel>(TestImageP
364
364
public void TiffDecoder_CanDecode_32Bit_WithAssociatedAlpha < TPixel > ( TestImageProvider < TPixel > provider )
365
365
where TPixel : unmanaged, IPixel < TPixel >
366
366
{
367
- // if (TestEnvironment.IsMacOS)
368
- // {
369
- // // Only debug save on OSX: For some reason the reference image has a difference of 50%. The imagesharp output file looks ok though.
370
- // using Image<TPixel> image = provider.GetImage(TiffDecoder.Instance);
371
- // image.DebugSave(provider);
372
- // return;
373
- // }
374
367
375
368
// Note: Using tolerant comparer here, because there is a small difference to the reference decoder probably due to floating point rounding issues.
376
369
TestTiffDecoder ( provider , useExactComparer : false , compareTolerance : 0.004F ) ;
@@ -404,13 +397,6 @@ public void TiffDecoder_CanDecode_40Bit_WithUnassociatedAlpha<TPixel>(TestImageP
404
397
public void TiffDecoder_CanDecode_40Bit_WithAssociatedAlpha < TPixel > ( TestImageProvider < TPixel > provider )
405
398
where TPixel : unmanaged, IPixel < TPixel >
406
399
{
407
- // if (TestEnvironment.IsMacOS)
408
- // {
409
- // // Only debug save on OSX: For some reason the reference image has a difference of 50%. The imagesharp output file looks ok though.
410
- // using Image<TPixel> image = provider.GetImage(TiffDecoder.Instance);
411
- // image.DebugSave(provider);
412
- // return;
413
- // }
414
400
415
401
TestTiffDecoder ( provider , useExactComparer : false , compareTolerance : 0.247F ) ;
416
402
}
@@ -442,13 +428,6 @@ public void TiffDecoder_CanDecode_48Bit_WithUnassociatedAlpha<TPixel>(TestImageP
442
428
public void TiffDecoder_CanDecode_48Bit_WithAssociatedAlpha < TPixel > ( TestImageProvider < TPixel > provider )
443
429
where TPixel : unmanaged, IPixel < TPixel >
444
430
{
445
- // if (TestEnvironment.IsMacOS)
446
- // {
447
- // // Only debug save on OSX: For some reason the reference image has a difference of 50%. The imagesharp output file looks ok though.
448
- // using Image<TPixel> image = provider.GetImage(TiffDecoder.Instance);
449
- // image.DebugSave(provider);
450
- // return;
451
- // }
452
431
453
432
TestTiffDecoder ( provider , useExactComparer : false , compareTolerance : 0.118F ) ;
454
433
}
@@ -471,13 +450,6 @@ public void TiffDecoder_CanDecode_56Bit_WithUnassociatedAlpha<TPixel>(TestImageP
471
450
public void TiffDecoder_CanDecode_56Bit_WithAssociatedAlpha < TPixel > ( TestImageProvider < TPixel > provider )
472
451
where TPixel : unmanaged, IPixel < TPixel >
473
452
{
474
- // if (TestEnvironment.IsMacOS)
475
- // {
476
- // // Only debug save on OSX: For some reason the reference image has a difference of 50%. The imagesharp output file looks ok though.
477
- // using Image<TPixel> image = provider.GetImage(TiffDecoder.Instance);
478
- // image.DebugSave(provider);
479
- // return;
480
- // }
481
453
482
454
TestTiffDecoder ( provider , useExactComparer : false , compareTolerance : 0.075F ) ;
483
455
}
0 commit comments