ssCore.SysTools.convertIconToJpeg

Convert an icon resource from an ICO file to JPEG format


Availability:

First available in version 3.5 build 314.


Input Parameters:

path - Path to the ICO file to read. This parameter supports monikers.

width - Width of the desired icon resource from the ICO file in pixels.

height - Height of the desired icon resource from the ICO file in pixels.

jpeg - Path to the JPEG file to create. This parameter supports monikers.


Output Parameters:

No output parameters.


Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.SysTools.convertIconToJpeg( paramsObject [, callbackParamsObject] [, errorParamsObject] );


Synchronous Mode:

When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.

var returnObject = ssCore.SysTools.convertIconToJpeg( paramsObject );


Notes:

None.


Examples:

ssCore.SysTools.convertIconToJpeg({path: "desktop://source.ico", width: 32, height: 32, jpeg: "desktop://destination.jpg"});