Files
SharpPngDecode/TEST_DecodePng/PngDecoder.cs
T
2022-09-01 13:21:04 +02:00

27 lines
530 B
C#

using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TEST_DecodePng
{
internal class PngDecoder
{
public PngDecoder()
{
//Empty
}
public Bitmap Decode(string filename)
{
Byte[] content = File.ReadAllBytes(filename);
int pngSignatureLength = 8;
//TO REMOVE !!
return new Bitmap(100,100);
}
}
}