SoOffscreenRendererWriteToJPEG Method (String, Single) |
Writes the buffer as a JPEG file to the given filename.
Namespace: OIV.Inventor
the filename to save the result to.
Specifies the quality of the compression. 1.0 is the best quality with the least compression. 0.0 is the worst quality with the most compression. A typical value for quality is 0.7.
If the given file does not exist or cannot be opened, the JPEG compression stream is written to a buffer. Previous JPEG buffers are deleted and a new one is created. The getBuffer method returns this buffer, and getBufferSize returns this buffer size.Since Open Inventor 9.0