Skip to content

Commit 495c052

Browse files
committed
测试不支持的格式
SixLabors/ImageSharp#2579
1 parent 0cd53cb commit 495c052

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • src/MediaConverters/MediaConverters.Tool

src/MediaConverters/MediaConverters.Tool/Program.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66

77
ImageDecoder d = WebpDecoder.Instance;
88

9+
var ico = @"E:\download\file_example_favicon.ico";
10+
Image image = Image.Load(ico);
11+
912
foreach (IImageFormat imageFormat in Configuration.Default.ImageFormats)
1013
{
1114
Console.WriteLine(imageFormat.Name);

0 commit comments

Comments
 (0)