Create a GIF or PNG? Use GDI+. Understand, however, that the MS
implementation of each is not as great as some third party implementations.
With GIF, for example, you end up with 256 colors, even if there are only 2
(inefficient) and you will often end up with very pixelly graphics if you
have complex shadows, etc. It is fine for org charts, graphs, etc.
Send to the client? I have seen two methods of handling this (you can also
write directly to the stream, but that is another topic).
1. Create the graphic and dynamically insert the link
2. Make the graphic path a call to an "engine" page that streams out the
graphic
There are plenty of examples of streamed graphics in ASP.NET that a quick
Google should find.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
***************************
Think Outside the Box!
***************************
"Daniel" wrote:
>
>
>
|