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); } } }