Excuse me for my English, I am French
I use Infragistics with asp.net Visual Studio 2010, I create char and I save it in PNG format in a directory for user later.
But the chart create is always wih color depth 32bits. The result have only 10 colors max and i want save the file with a color depth of 256 colors but i have not found any solutions.
I use infragistics 14.1.20141.2328
Patrick
Hello Patrick,
Thank you for using our community.
I would like to suggest you use the SaveTo method and save it as a .Net image. After that, you can convert it to the desired format. The SaveTo method has several implementations. Here is a link that can help you: http://help.infragistics.com/Doc/ASPNET/Current/CLR4.0/?page=Infragistics4.WebUI.UltraWebChart.v15.1~Infragistics.WebUI.UltraWebChart.UltraChart~SaveTo.html
http://help.infragistics.com/Doc/ASPNET/Current/CLR4.0?page=Chart_Save_a_Chart_Image.html
Here are links that will help you save the image in the desired depth.
http://stackoverflow.com/questions/483014/generate-image-file-with-low-bit-depths
http://stackoverflow.com/questions/10185120/c-sharp-capture-screen-to-8-bit-256-color-bitmap
If you have further questions, let me know.