473,387 Members | 1,621 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 3041
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.google.co m...
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.google.co m...
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
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...
5
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...
2
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...
3
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...
12
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...
3
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
by: Akira Bergman | last post by:
What kind of graphics options are there to use with c++?
0
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...
2
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.