1

I have a project that might involve some basic server side image creation (scaling, transforming, some text composting). In the past I've used GDI+ to do similar things, but Microsoft labels that as Legacy Graphics now and lists a few replacements such as DirectComposition and Windows Imaging Component.

I'm a little unclear of the distinction, so which of those (if any) is the best replacement for GDI+?

Daniel A.A. Pelsmaeker
  • 47,471
  • 20
  • 111
  • 157
Michael Cook
  • 1,676
  • 2
  • 26
  • 47
  • 2
    Sure, GDI+ is very old. That they list WPF in the "legacy graphics" bracket is pretty funny. WIC and DC are not direct replacements, you can't, say, draw a line with them. Nor are they easily accessible from C# unless you target a Store app. – Hans Passant Feb 18 '14 at 18:34

1 Answers1

2

Direct2D is the replacement for GDI+.

Frank Hileman
  • 1,159
  • 9
  • 19