Hi,
I am testing the following:
const { app, core, action } = require("photoshop");
await app.createDocument(
{width: 2000},
{height: 5000},
{resolution: 300},
{name: "test"},
{profile: "sRGB IEC61966-2.1"},
{mode: constants.NewDocumentMode.RGB}
);
What I get is nothing close to what I specified:
I get mew doc, with:
width 2000 - this is ok
height 1500 - should be 5000
color space is adobe RGB - should be sRGB
name is Untitled-2 - should be test.
What am I doing wrong?
I followed the API here
I could create a batchplay function for it but whenever I can use the API methods I’d rather use them.