473,729 Members | 2,177 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Managed C# graphics libraries for .NET

Does anyone know of a set of graphics libraries written
in C#?

My goal is to create a set of graphics images in memory then
dump them to a file or network stream in any format. Unfortunately
the System.Drawing classes all resolve down to calls in gdiplus.dll
which are implemented natively. Basically, I would like to use
the System.Drawing namespace, classes, and methods to manipulate
bitmaps in memory but not have any fundamental platform dependencies.
The images will never be displayed locally (i.e. they will be served
up from a web server).

I am aware of the following open source projects:

Mono
DotGnu
Portable DotGnu

These seems to all target some graphics platform such as OpenGL, SDL,
and so forth. Mono uses Cairo and maybe that would work.

The library must be written completely in managed code and not
have any platform dependencies. Execution speed is not an issue
since the images will be small.

Thanks in advance!

Nick
Nov 15 '05 #1
2 3053
All the open source projects you mentioned also use a native library for
graphics.
None have a completely managed graphics solution, AFAIK.
You could build your own, but what's the point? What are you trying to
accomplish here?

-Rob Teixeira [MVP]
"Nicholas Witchey" <to******@yahoo .com> wrote in message
news:6a******** *************** **@posting.goog le.com...
Does anyone know of a set of graphics libraries written
in C#?

My goal is to create a set of graphics images in memory then
dump them to a file or network stream in any format. Unfortunately
the System.Drawing classes all resolve down to calls in gdiplus.dll
which are implemented natively. Basically, I would like to use
the System.Drawing namespace, classes, and methods to manipulate
bitmaps in memory but not have any fundamental platform dependencies.
The images will never be displayed locally (i.e. they will be served
up from a web server).

I am aware of the following open source projects:

Mono
DotGnu
Portable DotGnu

These seems to all target some graphics platform such as OpenGL, SDL,
and so forth. Mono uses Cairo and maybe that would work.

The library must be written completely in managed code and not
have any platform dependencies. Execution speed is not an issue
since the images will be small.

Thanks in advance!

Nick

Nov 15 '05 #2
Nicholas,

System.Drawing calls do use GDI+ behind the scenes, but only on Windows and
most likely only in the Microsoft implementation of the .NET Framework. I
think Mono uses what's appropriate for systems it is running on (Cairo as
you have said), but you still can use the same high-level System.Drawing
functionality, provided that Mono, DotGnu or whichever implementation you
choose has complete support for the System.Drawing namespace.

In other words - the System.Drawing namespace contains high-level classes
and interfaces. Users of the classes and the interfaces are actually
insulated from the concrete implementation and should, in general, make no
assumptions of the implementation. It's the underlying framework's task to
map these high-level calls to calls to the low-level graphics engine, be it
Windows GDI, OpenGL, Cairo or whatever.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Nicholas Witchey" <to******@yahoo .com> wrote in message
news:6a******** *************** **@posting.goog le.com...
Does anyone know of a set of graphics libraries written
in C#?

My goal is to create a set of graphics images in memory then
dump them to a file or network stream in any format. Unfortunately
the System.Drawing classes all resolve down to calls in gdiplus.dll
which are implemented natively. Basically, I would like to use
the System.Drawing namespace, classes, and methods to manipulate
bitmaps in memory but not have any fundamental platform dependencies.
The images will never be displayed locally (i.e. they will be served
up from a web server).

I am aware of the following open source projects:

Mono
DotGnu
Portable DotGnu

These seems to all target some graphics platform such as OpenGL, SDL,
and so forth. Mono uses Cairo and maybe that would work.

The library must be written completely in managed code and not
have any platform dependencies. Execution speed is not an issue
since the images will be small.

Thanks in advance!

Nick


Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2029
by: Carl | last post by:
Hi, I am studying C++ right now. I am interested in creating my own mathematical software. Do you have any suggestions on the libraries or std libraries that I can use to creat very simple graphics for functions like y=x or y=x^2? It is better that I can use some simple libraries or small libraries since I don't want to spend too much time for just understanding the library. Thank you very much, and have a good day.
5
5502
by: Markus Elfring | last post by:
Hello, A lot of clipart libraries offer free raster images. I am looking for a similar collection for vector graphics. Do you know a gallery or archive for the following formats? - Scalable Vector Graphics (*.svgz) - Computer Graphics Metafile (*.cgm) Sincereley,
2
1634
by: Dr. Zharkov | last post by:
Hello. Inform, please, where to find programs for Visual C++ .NET 2002 or 2003 on building the three-dimensional solid and surface z=f(x, y) in 3D-space (without usage of other libraries such as DirectX and OpenGL)? In the answer I can inform, where to find these programs on Visual Basic ..NET 2003.
3
6192
by: Dave | last post by:
I'm at a point where I would really like to focus in on learning .NET but am having a hard time deciding which language to use. I learned to program in C++ but have spent quite a bit of time using VB6. I need to get started on developing a new application and would like to know what the advantages are of using managed C++ .NET over VB.NET or C#? My application will involve some, data acquisition, storage, data plotting, statistical...
12
1533
by: Greg | last post by:
For all new desktop apps is managed/CLR recommended? I.e. Native MFC/Win32 not recommended in general for new desktop apps? Speaking in general, not referring to exceptions (e.g. drivers) -- Greg McPherran www.McPherran.com
3
1988
by: Robert Hooker | last post by:
Does anyone have any information on when MDX2.0 will come out of Beta? It seems like its been in Beta for a looong time... Rob
2
1673
by: Akira Bergman | last post by:
What kind of graphics options are there to use with c++?
0
7127
by: vve | last post by:
I'm discovering a strange behaviour in an C# project using ZedGraph (https://sourceforge.net/projects/zedgraph/). After adding a signal to it, it seems that the clr goes mad for some reason. I don't get a nice exception in the debugger - instead I get a message in the output window "The program 'XXX.exe: Managed' has exited with code -1073741819 (0xc0000005)." and the application silently exits. I ran the compiled program with windbg...
2
1841
by: _A_C-ker_ | last post by:
Hello geek(s), I'm in desperate need of graphics programming using C language. Does anyone have material or web-links that explain graphics programming in- detail? I would appreciate your help in this matter. Thanks, _A_C-ker_ (a seeker)
0
8761
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9426
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9200
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9142
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6722
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6016
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4525
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4795
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2162
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.