TorqueScript Reference
|
Functions | |
bool | CaptureScreenArea (posX, posY, width, height, fileName, fileType) |
Integer | png2jpg (pngFilename, [quality]?) |
bool CaptureScreenArea | ( | posX | , |
posY | , | ||
width | , | ||
height | , | ||
fileName | , | ||
fileType | |||
) |
Capture a specific area of the screen
Integer png2jpg | ( | pngFilename | , |
[quality ] ? | |||
) |
Use the png2jpg function to save a PNG file specified by pngFilename as a similarly named JPEG file with the optionally specified quality.
pngFilename | The path and file name of the PNG file to convert. |
quality | An optional quality between 0 and 100. The default quality is 90. |