Optimising PNG output from System.Drawing in .NET [closed]
I have a routine which reads in an image, resizes it and positions it on a new background (brand new bitmap, just the size is set). This all works absolutely perfectly, but now I would like to reduce the size of the PNG files it outputs - if I output JPEG files, I get the ~4K or so file size I expect, but my PNG files are more than 30K in size. I know that I will never get to JPEG levels with PNG, but I think I can do a bit better. When I load the outputted PNGs into Fireworks , I note that the background and the resized image are still seperate layers. Flattening the PNG in Fireworks reduces