Last post Aug 03, 2006 09:55 AM by Jungalist
Aug 02, 2006 02:23 PM|Jungalist|LINK
Aug 03, 2006 09:55 AM|Jungalist|LINK
Response.ContentType = "image/gif"
I have tried having this code in the PageLoad of a page and calling the page as the imageURL of the image control (using the Response.Outputstream), I have also tried saving the image to disk and assigning that to the ImagURL property directly. I initially
tried outputting jpg format, but I switch to gif since jpg's don't save with transparent backgrounds. I assume they can as an Outputstream - why else have transparent as an option?
Are there any glaringly apparent reasons why this wouldn't be working? Currently I get an image with a white background overlayed on my panel which has the background that I desire. If I switch the Transparent, to Lime, then I get a lime background.
Any help is appreciated.