File tree Expand file tree Collapse file tree
src/MediaConverters/MediaConverters.Tool Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 <RootNamespace >DotNetCampus.MediaConverter</RootNamespace >
1111 </PropertyGroup >
1212
13+ <ItemGroup >
14+ <ProjectReference Include =" ..\MediaConverters.Lib\MediaConverters.Lib.csproj" />
15+ </ItemGroup >
16+
1317</Project >
Original file line number Diff line number Diff line change 11// See https://aka.ms/new-console-template for more information
2+
3+ using SixLabors . ImageSharp ;
4+ using SixLabors . ImageSharp . Formats ;
5+ using SixLabors . ImageSharp . Formats . Webp ;
6+
7+ ImageDecoder d = WebpDecoder . Instance ;
8+
9+ foreach ( IImageFormat imageFormat in Configuration . Default . ImageFormats )
10+ {
11+ Console . WriteLine ( imageFormat . Name ) ;
12+ }
13+
14+ /*
15+ PNG
16+ JPEG
17+ GIF
18+ BMP
19+ PBM
20+ TGA
21+ TIFF
22+ Webp
23+ QOI
24+ */
225Console . WriteLine ( "Hello, World!" ) ;
You can’t perform that action at this time.
0 commit comments