About BitmapLayerManager trying to get the value of the number of layers in the PSD file.
Good day.
I am trying to get the value of the number of layers in the PSD file.
The file is attached.
If you look at this file in Photoshop, the number of layers is 4.
But the script
testmap = "D:\\FPSD.psd"
BitmapLayerManager.getLayerCount testmap
returns 0.
Am I doing something wrong?
In work I use 3ds Max 2015 and Photoshop CC 19.1.5
Comments
Attached file
Attached file
.
Most likely Adobe has changed the way this information is stored in PSD file headers so the BitmapLayerManager can't access it anymore.
it turns out, that there is
it turns out, that there is no format left for multilayer images....