Check if PSD file has layer with adjustments, without using photoshop

Hi there

Is there a way to check if a PDF image has adjustment-layers (layers with adjustments)?
But I don’t want to open photoshop for this check-process.

I have already create a script and check this in photoshop by iterate through the layers.
But I guess there must be an easier way to do this, without opening photoshop for every image.

Thanks in advance for your help
Marth

Build this program and run in terminal.

https://github.com/diaevd/psdparse

Then you can get psd file layer(s) information. I checked it in macOS 10.14.6 environment.

me$ ./psdparse tiger_piyo1.psd
Processing “/Users/me/Pictures/xxx/Tiger/tiger_piyo1.psd”
PSD (version 1), 3 channels, 1280 rows x 960 cols, 8 bit RGBColor

3 layers:
layer 0: ( 0, 0,1280, 960), 3 channels (1280 rows x 960 cols)
name: “?w?i”
layer 1: ( 278, 54,1083, 779), 4 channels ( 805 rows x 725 cols)
name: “???C???[ 1”
layer 2: ( 845, 367,1006, 559), 4 channels ( 161 rows x 192 cols)
name: “???C???[ 2”
done.