How to resize an image in .NET with transparency, both GIFs and PNGs, keeping transparency info
c#, image-manipulation, image-processing, resize
Solution
This is effectively what you are asking Why does resizing a png image lose transparency?
Problem
i found a lot of questions about resizing images in .NET and whatnot, but none of them seemed to talk about resizing images that have transparency (both 1bit like GIFs and w/ alpha channel like PNGs), trying obviously to keep that transparency. Maybe GDI/GDI+ is somewhat lacking of code to easily manage those scenarios or what else? If it's not possible to use .NET as it is, are you aware of any library that can do that, even not free. I just wouldn't like it to be a command line tool (otherwise ImageMagick would probably do the trick easily) for better integration and automation purposes. Thanks guys. Oh, and gals too.