Graphic Library

  • Thread starter Thread starter Striped
  • Start date Start date
S

Striped

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.
 
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.
 
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 said:
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]
- (e-mail address removed)

"Striped" wrote in message news:[email protected]...
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.
 
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]
- (e-mail address removed)

Striped said:
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 said:
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]
- (e-mail address removed)

"Striped" wrote in message news:[email protected]...
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.
 
Actually you can use GDI+ itsself

See the following examples

http://www.c-sharpcorner.com/Graphics/ScreenCaptFormMG.asp


Nicholas Paldino said:
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]
- (e-mail address removed)

Striped said:
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 said:
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]
- (e-mail address removed)

"Striped" wrote in message 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.
 
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 said:
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 said:
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]
- (e-mail address removed)

"Striped" wrote in message news:[email protected]...
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.
 
Back
Top