Open jwin84 opened 5 years ago
Hi, the pytoshop.enums.ColorDepth says: Color depth (bits-per-pixel-per-channel). Supported values are 1, 8, 16, and 32. So this should be supported.
The index error indicates that your array has the wrong dimensions. The shape attribute of your channel should be a tuple reflecting the array dimension. In this case the shape should be tuple(1024, 1024)
Would you mind pointing me to the OpenExr libary and Windows binary you have used? I'd also like to support this and think I could help with a solution.
Sorry, I know this is not a dicussion board.
Description
Hey, I'm trying to open a blank Photoshop doc and add layers to it that have image data from EXR's. So my main question is really, can pytoshop support EXR's as channel data. Thanks for any clarity you can provide, I know this is more of a broad support question.
What I Did
I'm creating a list of numpy arrays, where every array is a channel of the EXR. Them I'm outputting nested layers to PSD's
CODE:
It's failing at the 'output = nested_layers.nested_layers_to_psd(layer, color_mode=3, size=(1024,1024))' line...