How do I script a PNG24 file to have white opaque background
I have a script that will export layers to png files but I want each layer to have a white background and not a transparent background
I am using these sets of export options.
var exportOptions = new ExportOptionsPNG24();
exportOptions.antiAliasing = true;
exportOptions.matte = true;
exportOptions.matteColor = RGBColorobject;
exportOptions.transparency = false;
I know I am using the exportOptions.matteColor = RGBColorobject; incorrectly but need some direction on how to get this to work.
