Question
New document defining bit depth
Hi
I'm trying to script the creation of a document and defining the bit depth based on a tick box in my UI however i keep getting en error
BitsPerChannelType.EIGHT
BitsPerChannelType.SIXTEEN
BitsPerChannelType.THIRTYTWO
all give me the same error, does this element just not work from the dom?
app.documents.add(
1920, // Width
1080, // Height
72, // Resolution
"Test Document", // Name
NewDocumentMode.RGB, // Mode
BitsPerChannelType.THIRTYTWO // Bit Depth
);