473,388 Members | 1,377 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,388 software developers and data experts.

Graphic Library

Is out there any graphic library written in C# or other managed code
available,
that allows the dynamic creation of images with some simple data like text,
bars etc.
and which doesn't depend on any current OS or video card implementation?
This image doesn't have to be dispayed, just saved in JPEG or another format
after all.

An example can be the C-based library GD: http://www.boutell.com/gd/

thank you.
Nov 16 '05 #1
5 8788
Striped,

Have you taken a look in System.Drawing? You can create a Bitmap
instance, get the Graphics instance for the Bitmap (through a call to the
static FromImage method on the Graphics class), and then call the methods on
the Graphics instance to draw shapes, text, etc, etc.

You can then save the results through a call to the Save method on the
Bitmap class.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Striped" <sk******@insycom.net> wrote in message
news:e3**************@TK2MSFTNGP09.phx.gbl...
Is out there any graphic library written in C# or other managed code
available,
that allows the dynamic creation of images with some simple data like
text, bars etc.
and which doesn't depend on any current OS or video card implementation?
This image doesn't have to be dispayed, just saved in JPEG or another
format after all.

An example can be the C-based library GD: http://www.boutell.com/gd/

thank you.

Nov 16 '05 #2
Oh, no, no,

that will probably take several second to generate one image and the
application I have is running on a web-server and should generate hundreds
of such images per seconds as a response to client requests.
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:Oa****************@TK2MSFTNGP11.phx.gbl...
Striped,

Have you taken a look in System.Drawing? You can create a Bitmap
instance, get the Graphics instance for the Bitmap (through a call to the
static FromImage method on the Graphics class), and then call the methods
on the Graphics instance to draw shapes, text, etc, etc.

You can then save the results through a call to the Save method on the
Bitmap class.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Striped" wrote in message news:e3**************@TK2MSFTNGP09.phx.gbl...
Is out there any graphic library written in C# or other managed code
available,
that allows the dynamic creation of images with some simple data like
text, bars etc.
and which doesn't depend on any current OS or video card implementation?
This image doesn't have to be dispayed, just saved in JPEG or another
format after all.

An example can be the C-based library GD: http://www.boutell.com/gd/

thank you.


Nov 16 '05 #3
Striped,

In that case, you might want to look at unmanaged code implementations.
I don't think there are any managed code implementations (although
System.Drawing does call to GDI+, which is unmanaged code) which can give
you the performance that you want in this arena.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Striped" <sk******@insycom.net> wrote in message
news:un**************@TK2MSFTNGP12.phx.gbl...
Oh, no, no,

that will probably take several second to generate one image and the
application I have is running on a web-server and should generate hundreds
of such images per seconds as a response to client requests.
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote
in message news:Oa****************@TK2MSFTNGP11.phx.gbl...
Striped,

Have you taken a look in System.Drawing? You can create a Bitmap
instance, get the Graphics instance for the Bitmap (through a call to the
static FromImage method on the Graphics class), and then call the methods
on the Graphics instance to draw shapes, text, etc, etc.

You can then save the results through a call to the Save method on the
Bitmap class.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Striped" wrote in message news:e3**************@TK2MSFTNGP09.phx.gbl...
Is out there any graphic library written in C# or other managed code
available,
that allows the dynamic creation of images with some simple data like
text, bars etc.
and which doesn't depend on any current OS or video card implementation?
This image doesn't have to be dispayed, just saved in JPEG or another
format after all.

An example can be the C-based library GD: http://www.boutell.com/gd/

thank you.



Nov 16 '05 #4
Actually you can use GDI+ itsself

See the following examples

http://www.c-sharpcorner.com/Graphic...CaptFormMG.asp
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:eQ**************@TK2MSFTNGP09.phx.gbl...
Striped,

In that case, you might want to look at unmanaged code implementations. I don't think there are any managed code implementations (although
System.Drawing does call to GDI+, which is unmanaged code) which can give
you the performance that you want in this arena.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Striped" <sk******@insycom.net> wrote in message
news:un**************@TK2MSFTNGP12.phx.gbl...
Oh, no, no,

that will probably take several second to generate one image and the
application I have is running on a web-server and should generate hundreds of such images per seconds as a response to client requests.
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote
in message news:Oa****************@TK2MSFTNGP11.phx.gbl...
Striped,

Have you taken a look in System.Drawing? You can create a Bitmap
instance, get the Graphics instance for the Bitmap (through a call to the static FromImage method on the Graphics class), and then call the methods on the Graphics instance to draw shapes, text, etc, etc.

You can then save the results through a call to the Save method on the Bitmap class.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Striped" wrote in message news:e3**************@TK2MSFTNGP09.phx.gbl... Is out there any graphic library written in C# or other managed code
available,
that allows the dynamic creation of images with some simple data like
text, bars etc.
and which doesn't depend on any current OS or video card implementation? This image doesn't have to be dispayed, just saved in JPEG or another
format after all.

An example can be the C-based library GD: http://www.boutell.com/gd/

thank you.



Nov 16 '05 #5
Hello,

Given performance is your primary concern, check out ProEssentials at
www.gigasoft.com

ProEssentials provides managed and non-managed interfaces but the charting
engine is written in native code for maximum speed.

ProEssentials concentrates on performance, and thus GDI. GDI+ is much
slower than GDI. No solution based on 100% managed code or GDI+ will ever
compare to native GDI performance.

best regards,

Robert Dede
Gigasoft, Inc.


"Striped" <sk******@insycom.net> wrote in message
news:un**************@TK2MSFTNGP12.phx.gbl...
Oh, no, no,

that will probably take several second to generate one image and the
application I have is running on a web-server and should generate hundreds
of such images per seconds as a response to client requests.
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote
in message news:Oa****************@TK2MSFTNGP11.phx.gbl...
Striped,

Have you taken a look in System.Drawing? You can create a Bitmap
instance, get the Graphics instance for the Bitmap (through a call to the
static FromImage method on the Graphics class), and then call the methods
on the Graphics instance to draw shapes, text, etc, etc.

You can then save the results through a call to the Save method on the
Bitmap class.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Striped" wrote in message news:e3**************@TK2MSFTNGP09.phx.gbl...
Is out there any graphic library written in C# or other managed code
available,
that allows the dynamic creation of images with some simple data like
text, bars etc.
and which doesn't depend on any current OS or video card implementation?
This image doesn't have to be dispayed, just saved in JPEG or another
format after all.

An example can be the C-based library GD: http://www.boutell.com/gd/

thank you.



Nov 16 '05 #6

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

Similar topics

1
by: phatnugs420 | last post by:
Hi all, thanks for all your help last time.. Unfortunately I couldn't get any of the suggestions to work and because of time constraints I had to go to something that I knew worked... But I'd like...
5
by: TC | last post by:
Hello, Here is what I'm trying to do: -- Make sure both MS Excel and MS Word are running -- Create an Excel chart -- Save the Excel file -- Copy the Excel chart onto the clipboard using Ctrl...
2
by: predseda | last post by:
I would like to ask you, if you know about something like Tanner Helland's graphic tutorials (http://tannerhelland.tripod.com/VBGraphicsTutorial.htm)but VB.Net compatibile. I need to create...
5
by: Jerry Fleming | last post by:
Can anyone please recommend a graphic library of C, cross-platform, especially for Linux? Currently, I have SVGAlib in my mind. How is your recommendation compared with it?
8
by: Brian Ward | last post by:
I am looking for a simple way to set the image transparency in a PictureBox. I have a moving PictureBox containing a graphic image .. moving by incrementing its Left property. The background...
2
by: Sai | last post by:
How to get background graphic and specify it as image brush for left task pane using WPF? As in the left task flow pane in Windows Vista Control Panel or as shown in ...
3
by: Peter Anthony | last post by:
I would like to be able to save a Bitmap to a graphic file, such as a JPG, BMP, etc. Are there any 3rd party sources that provide a means to put this functionality into my VS C++ 2008 application...
7
by: cantide5ga | last post by:
I simply want to know a preferred graphics library is for C++. I am using 2005 Visual C++. I generally don't post anything but specific coding questions, but everyone has helped so much in the...
13
by: Prisoner at War | last post by:
I know about the * * style="cursor: pointer; cursor: hand;" * * attribute of the <imgtag, but is there a way JavaScript can "load in" one's own graphic for such events?? How? TIA!
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
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,...

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.