Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Scripting
Viewing all articles
Browse latest Browse all 12244

canvas size with backgroundcolor

$
0
0

Hi,

 

this part of my script defines and set a new background color

there-after the canvas size of image is extended

 

var warmgrey = new SolidColor();

warmgrey.rgb.red = 251;

warmgrey.rgb.green = 247;

warmgrey.rgb.blue = 248;

app.backgroundColor = warmgrey;

 

docRef.resizeCanvas(docRef.width , docRef.height + missingtop +2  , AnchorPosition.BOTTOMCENTER)

 

but how can i set that the backgroundcolor is used for resizeCanvas, instead of white or other options in de canvas pulldown options.

 

thanks,

 

Johan


Viewing all articles
Browse latest Browse all 12244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>