<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 9pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>I have a set of vectors and I want to color code them according to their orientation, e.g. component on x-axis can be colored red, on y-axis coded green etc. And I want to save the results to a image as well as show it on the screen, now I can correctly save it as .vtk format but not other image formats, can anybody tell me how to save as image formats such as JPEG? I tried vtkJPEGWriter but because my vectors are double type it gives me an error cannot save double into JPEG.<br><br>thanks<br><br /><hr />使用下一代的 MSN Messenger。 <a href='http://imagine-msn.com/messenger/launch80/default.aspx?locale=zh-cn&source=wlmailtagline' target='_new'>立即尝试!</a></body>
</html>