$io.writeImage

Write a dynamic image to a file.
Syntax
    $io.writeImage{siteforum_path}{content_type}
Documentation$io.writeImage:
Write an image created with $createImage to a file. The content will automatically be encoded according to the content type as long as the type is a supported one. Currently image/gif and image/jpeg are supported.
    Paramter:
      1 - destination file; in SITEFORUM protocol notation 2 - content type
    Returns:
      Void.
    Throws:
      NullPointerException - if no image is available for writing IOException
Examples
$createImage{10}{10} $io.writeImage{private://test_image.gif}{image/gif}
GroupSpecial
Minimum required transaction-mode:UPDATE=IO
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters2
Maximum parameters 2