Connecting Tech Pros Worldwide Forums | Help | Site Map

Graphic Library

Striped
Guest
 
Posts: n/a
#1: Nov 16 '05
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.



Nicholas Paldino [.NET/C# MVP]
Guest
 
Posts: n/a
#2: Nov 16 '05

re: Graphic Library


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]
- mvp@spam.guard.caspershouse.com

"Striped" <skovbasa@insycom.net> wrote in message
news:e37R74UhEHA.3548@TK2MSFTNGP09.phx.gbl...[color=blue]
> 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.
>[/color]


Striped
Guest
 
Posts: n/a
#3: Nov 16 '05

re: Graphic Library


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]" <mvp@spam.guard.caspershouse.com> wrote in
message news:OaJ9Z%23VhEHA.3916@TK2MSFTNGP11.phx.gbl...[color=blue]
> 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]
> - mvp@spam.guard.caspershouse.com
>
> "Striped" wrote in message news:e37R74UhEHA.3548@TK2MSFTNGP09.phx.gbl...[color=green]
>> 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.
>>[/color]
>
>[/color]


Nicholas Paldino [.NET/C# MVP]
Guest
 
Posts: n/a
#4: Nov 16 '05

re: Graphic Library


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]
- mvp@spam.guard.caspershouse.com

"Striped" <skovbasa@insycom.net> wrote in message
news:unx7BFWhEHA.1184@TK2MSFTNGP12.phx.gbl...[color=blue]
> 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]" <mvp@spam.guard.caspershouse.com> wrote
> in message news:OaJ9Z%23VhEHA.3916@TK2MSFTNGP11.phx.gbl...[color=green]
>> 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]
>> - mvp@spam.guard.caspershouse.com
>>
>> "Striped" wrote in message news:e37R74UhEHA.3548@TK2MSFTNGP09.phx.gbl...[color=darkred]
>>> 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.
>>>[/color]
>>
>>[/color]
>
>[/color]


Scott B \(Was New Guy\)
Guest
 
Posts: n/a
#5: Nov 16 '05

re: Graphic Library


Actually you can use GDI+ itsself

See the following examples

http://www.c-sharpcorner.com/Graphic...CaptFormMG.asp


"Nicholas Paldino [.NET/C# MVP]" <mvp@spam.guard.caspershouse.com> wrote in
message news:eQjk0bWhEHA.1972@TK2MSFTNGP09.phx.gbl...[color=blue]
> Striped,
>
> In that case, you might want to look at unmanaged code[/color]
implementations.[color=blue]
> 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]
> - mvp@spam.guard.caspershouse.com
>
> "Striped" <skovbasa@insycom.net> wrote in message
> news:unx7BFWhEHA.1184@TK2MSFTNGP12.phx.gbl...[color=green]
> > 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[/color][/color]
hundreds[color=blue][color=green]
> > of such images per seconds as a response to client requests.
> >
> >
> > "Nicholas Paldino [.NET/C# MVP]" <mvp@spam.guard.caspershouse.com> wrote
> > in message news:OaJ9Z%23VhEHA.3916@TK2MSFTNGP11.phx.gbl...[color=darkred]
> >> 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[/color][/color][/color]
the[color=blue][color=green][color=darkred]
> >> static FromImage method on the Graphics class), and then call the[/color][/color][/color]
methods[color=blue][color=green][color=darkred]
> >> on the Graphics instance to draw shapes, text, etc, etc.
> >>
> >> You can then save the results through a call to the Save method on[/color][/color][/color]
the[color=blue][color=green][color=darkred]
> >> Bitmap class.
> >>
> >> Hope this helps.
> >>
> >>
> >> --
> >> - Nicholas Paldino [.NET/C# MVP]
> >> - mvp@spam.guard.caspershouse.com
> >>
> >> "Striped" wrote in message[/color][/color][/color]
news:e37R74UhEHA.3548@TK2MSFTNGP09.phx.gbl...[color=blue][color=green][color=darkred]
> >>> 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[/color][/color][/color]
implementation?[color=blue][color=green][color=darkred]
> >>> 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.
> >>>
> >>
> >>[/color]
> >
> >[/color]
>
>[/color]


Robert Dede
Guest
 
Posts: n/a
#6: Nov 16 '05

re: Graphic Library


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" <skovbasa@insycom.net> wrote in message
news:unx7BFWhEHA.1184@TK2MSFTNGP12.phx.gbl...[color=blue]
> 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]" <mvp@spam.guard.caspershouse.com> wrote
> in message news:OaJ9Z%23VhEHA.3916@TK2MSFTNGP11.phx.gbl...[color=green]
>> 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]
>> - mvp@spam.guard.caspershouse.com
>>
>> "Striped" wrote in message news:e37R74UhEHA.3548@TK2MSFTNGP09.phx.gbl...[color=darkred]
>>> 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.
>>>[/color]
>>
>>[/color]
>
>[/color]


Closed Thread


Similar C# / C Sharp bytes