ImageAdv.savePng() This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to ImageAdv Class Summary

Availability
Windows, Mac OSX, Linux

Usage
mdm.ImageAdv.savePng(outputPath:String):Boolean

Parameters
path on local filesystem where output PNG image will be created

Returns
boolean indicating if operation succeeded

Description
This method flushes memory stored bitmap into local filesystem image with PNG format. Note that operation will overwrite any existing file so additional checks could be added to code to make sure that new, fresh copy is created.

Notes

Example Code
if(image.isValid)
{
var saved:Boolean = image.savePng(outputPath);
};

mdm.ImageAdv Class Example Downloads
No Example Downloads Available


Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page