PC Review


Reply
Thread Tools Rate Thread

how to create a gif or png dynamicaly in .aspx and return in response?

 
 
Daniel
Guest
Posts: n/a
 
      4th Aug 2005


 
Reply With Quote
 
 
 
 
=?Utf-8?B?Q293Ym95IChHcmVnb3J5IEEuIEJlYW1lcikgLSBN
Guest
Posts: n/a
 
      5th Aug 2005
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:

>
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can i create crystal report dynamicaly bala Microsoft VB .NET 0 9th Jun 2006 03:16 PM
how to create a gif or png dynamicaly in .aspx and return in response? Daniel Microsoft C# .NET 2 5th Aug 2005 08:29 AM
how to create a gif or png dynamicaly in .aspx and return in response? Daniel Microsoft Dot NET 1 5th Aug 2005 02:04 AM
do you know how i to create events dynamicaly? leon Microsoft ASP .NET 3 30th Nov 2004 06:10 AM
do you know how i to create events dynamicaly? leon Microsoft C# .NET 4 11th Aug 2004 12:10 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:21 PM.