Please check these 2 similar images:
http://www32.brinkster.com/rajneeshbanyal/badimage.gif
http://www32.brinkster.com/rajneeshbanyal/goodimage.gif
The same code is used to generate the two files . How can I fix the first image's properties in VB code to always display like the second image?
FYI: I am using TeeChart Pro ActiveX 5.
Also the images have different sizes.
(Please copy the image URLs to Browser window. Brinkster problem.)
Unpredictable graph quality
Have you tried using :
tchart1.Export.asGIF.ColorReduction = rmWindows256
Josep Lluis Jorge
http://support.steema.com
tchart1.Export.asGIF.ColorReduction = rmWindows256
Josep Lluis Jorge
http://support.steema.com
Sorry. It didn't help
strFile = "currentratio" & lReportID & ".gif"
strFileName = sDir & strFile
moChart.Export.asGIF.ColorReduction = rmWindows256
moChart.Export.asGIF.SaveToFile strFileName
This is the code. Does it need any more adjustments? Tried changing the ColorReduction through many values. The dots are still there.
The ugly image with dots is generated using some data by a VB application using a dll on a web server.
The good image is generated by an ASP page (same code as in the VB application) using the same data and the same dll (on the same server).
Why would same code and data generate different looking images that too with a little different sizes
FYI: Another weird thing. Both the VB app and the ASP code on a separate server generate ugly dotted images.
Please let me know if you need more details. Been trying to fix this since 3 days and need it fixed urgently.
Thanks
Raj
strFileName = sDir & strFile
moChart.Export.asGIF.ColorReduction = rmWindows256
moChart.Export.asGIF.SaveToFile strFileName
This is the code. Does it need any more adjustments? Tried changing the ColorReduction through many values. The dots are still there.
The ugly image with dots is generated using some data by a VB application using a dll on a web server.
The good image is generated by an ASP page (same code as in the VB application) using the same data and the same dll (on the same server).
Why would same code and data generate different looking images that too with a little different sizes
FYI: Another weird thing. Both the VB app and the ASP code on a separate server generate ugly dotted images.
Please let me know if you need more details. Been trying to fix this since 3 days and need it fixed urgently.
Thanks
Raj
Hello Raj,
This may be due to the graphics card on the server that is generating the Chart images. If the graphics card has a low colour specification TeeChart’s use of colour is limited too. There may be a software solution though I’m not sure what that may be at the moment. If the problem is due to the Graphics card a sure solution would be to upgrade the card on the server.
Best regards,
Marc Meumann
Steema Support
This may be due to the graphics card on the server that is generating the Chart images. If the graphics card has a low colour specification TeeChart’s use of colour is limited too. There may be a software solution though I’m not sure what that may be at the moment. If the problem is due to the Graphics card a sure solution would be to upgrade the card on the server.
Best regards,
Marc Meumann
Steema Support
Hello,
Ok, I may have misunderstood, I thought that all applications on the same server were behaving in the same way. That not being the case, you do have a workaround at least, I'm unaware of what other factors may explain the differences of palette between one application and another on the same machine.
Regards,
Marc Meumann
Steema Support
Ok, I may have misunderstood, I thought that all applications on the same server were behaving in the same way. That not being the case, you do have a workaround at least, I'm unaware of what other factors may explain the differences of palette between one application and another on the same machine.
Regards,
Marc Meumann
Steema Support