3

I just wonder a bit whether or not GDI+ is still a technology worth using, especially in a .net sense.

Granted, GDI+ is still THE technology to handle Images in Windows, but it is also unmanaged code (obviously). Now, after discovering that GDI+ is actually not supported on ASP.net¹, I just wonder: Is it actually feasible to have Image Manipulation Libraries that run completely in Managed Code? XNA does it if i remember correctly, albeit it uses the graphics card for it.

Is there maybe even any .net Image Library that implements a sort of managed GDI+?

¹ Source, also Microsoft just offered something for ASP.net that uses GDI+.

4

5 に答える 5

6

System.Drawing is built on top of GDI+. It's just a wrapper.

http://msdn.microsoft.com/en-us/library/system.drawing.aspx

于 2008-08-22T16:26:16.833 に答える
5

It's still a technology worth using. There are lots of Windows Forms and unmanaged apps around that use GDI+ that either won't be upgraded, or that will be upgraded, but that don't need more advanced rendering capabilities. GDI+ is a good bolt-on solution for older applications, and for new applications written in Windows Forsm. That's the primary reason GDI+ wasn't axed in Vista in favour of a totally DirectX solution.

There's not specifically anything wrong with GDI/GDI+. True, it's not as advanced as Aero et al, but that doesn't always matter. Particularly in LOB applications (in companies that probably don't even have machines capable of running Vista - mine certainly doesn't), GDI+ is an extremely important technology.

The fact that it's not supported (for drawing, at least... you CAN still use it for image manipulation) in ASP.NET is a red herring, since other drawing technologies are not supported for web applications either (plugin-based "applications" notwithstanding).

于 2008-08-22T16:32:04.557 に答える
2

GDI+の代わりにAntiGrainを使用できます。このライブラリを使用するアプリケーションの例として、CreativeDocs.NETを参照してください。

SDLは、一部のタイプのアプリケーションにも非常に適しています。

于 2008-12-18T15:54:22.117 に答える
1

使える?はい、そうです。それがあった程度に。それは常に恐ろしく遅く、テキストのレンダリングは常に壊れており、Windows の次の公式グラフィックス レイヤーではないことはしばらく前から明らかでした。

それができない場合は、他にも多くのグラフィックライブラリがあり、高速および/または高品質/システム依存が少ない...マネージコードに実装されているものは知りません。

于 2008-08-22T16:54:01.290 に答える
0

Blockquote には他にもたくさんのグラフィックス ライブラリがあり、高速かつ/または高品質で、システムへの依存が少ない...

C++ で GDI+ の代わりに使用できるライブラリのいくつかをリストできますか?

于 2008-10-27T10:20:41.803 に答える