|
|
@ -23,10 +23,11 @@ namespace SixLabors.ImageSharp.Tests.Formats.WebP |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
[Theory] |
|
|
[Theory] |
|
|
[InlineData(Lossless.Lossless1, 1000, 307)] |
|
|
//[InlineData(Lossless.Lossless1, 1000, 307)]
|
|
|
[InlineData(Lossless.Lossless2, 1000, 307)] |
|
|
//[InlineData(Lossless.Lossless2, 1000, 307)]
|
|
|
[InlineData(Lossy.Alpha.LossyAlpha1, 1000, 307)] |
|
|
//[InlineData(Lossy.Alpha.LossyAlpha1, 1000, 307)]
|
|
|
[InlineData(Lossy.Alpha.LossyAlpha2, 1000, 307)] |
|
|
//[InlineData(Lossy.Alpha.LossyAlpha2, 1000, 307)]
|
|
|
|
|
|
[InlineData(Animated.Animated1, 400, 400)] |
|
|
public void Identify_DetectsCorrectDimensions(string imagePath, int expectedWidth, int expectedHeight) |
|
|
public void Identify_DetectsCorrectDimensions(string imagePath, int expectedWidth, int expectedHeight) |
|
|
{ |
|
|
{ |
|
|
var testFile = TestFile.Create(imagePath); |
|
|
var testFile = TestFile.Create(imagePath); |
|
|
|