This command may help: http://labs.otuome.com/jsfl/export-image