Photoshop Layers Reported Directory Fashion

Started by Chris S, February 01, 2023, 02:02:41 PM

Previous topic - Next topic

Phil Harvey

Hi Chris,

All of these quirks/bugs/oversights are just the way the Photoshop stores this information.  If ExifTool isn't reporting LayerSections it is because this information doesn't exist in the file.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Chris S

OK. I didn't know how it worked. Just thought I'd let you know in case you choose to amend on the next release. Thanks!

Chris S

Hey Phil, looks like there's an issue with the LayerSections not reporting a Divider when it gets around 6 levels deep. See Flags.png attached which shows the discrepancy between 15/16 and 20/21, where </Layer Group> is being flagged as a Layer instead of a Divider. Included the .psd as well. Thanks!

Flags.png
SampleLayers.psd

Phil Harvey

Interesting.  It looks like you basically should ignore the LayerSection if the name is "</Layer group>".

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).