I am attempting to load a PNG image into a Bitmap and save it without modifications.
I tried something along these lines:
var png = Bitmap.FromFile("t_02.png");
png.Save("t_02_out.png", ImageFormat.Png);
I also tried:
var png = Bitmap.FromFile("t_02.png");
png.Save("t_02_out.png");
In either case, the original 233kb file procuded a 356kb image. What am I doing wrong?