Sceneviewer:
* Enabled prim rendering (oops) * Added linear taper support * Slowed down the FPS counter, and disabled it by default. Press '2' to enable/disable it libsecondlife: * Improved the accuracy of PrimObject quantize/dequantize functions * Switched PrimObject.Taper* to use PathScale* instead of the deprecated PathTaper* git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@506 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -180,7 +180,13 @@ namespace IA_TestAsyncImage
|
||||
|
||||
public void RunMe()
|
||||
{
|
||||
File.WriteAllBytes(filename, JasperWrapper.jasper_decode_j2c_to_tiff(j2cdata));
|
||||
byte[] bytes = JasperWrapper.jasper_decode_j2c_to_tiff(j2cdata);
|
||||
|
||||
FileStream file = new FileStream(filename, FileMode.Create);
|
||||
BinaryWriter writer = new BinaryWriter(file);
|
||||
writer.Write(bytes);
|
||||
writer.Close();
|
||||
file.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user