We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 495c052 commit 4374da0Copy full SHA for 4374da0
src/MediaConverters/MediaConverters.Tool/Program.cs
@@ -3,11 +3,13 @@
3
using SixLabors.ImageSharp;
4
using SixLabors.ImageSharp.Formats;
5
using SixLabors.ImageSharp.Formats.Webp;
6
+using SixLabors.ImageSharp.PixelFormats;
7
8
ImageDecoder d = WebpDecoder.Instance;
9
-var ico = @"E:\download\file_example_favicon.ico";
10
-Image image = Image.Load(ico);
+var file = @"E:\Download\file_example_TIFF_1MB.tiff";
11
+var buffer = File.ReadAllBytes(file);
12
+Image image = Image.Load<Rgba32>(buffer);
13
14
foreach (IImageFormat imageFormat in Configuration.Default.ImageFormats)
15
{
0 commit comments