Hello everyone!
I'm writing my first bash script with ImageMagick.
I have a .psd file with multiple layers. I'd like to extract and 'store' (in a file, or pass to another script) the X and Y positions of the layers.
Is this possible with ImageMagick?
Best
get .psd layer (x,y) positions
Re: get .psd layer (x,y) positions
I've found that identify prints something like
banana.png PNG 248x161 248x161+733+471 8-bit sRGB 193392B 0.000u 0:00.009
I'm guessing that 248x161+733+471 (Geometry) is what I'm looking for?
banana.png PNG 248x161 248x161+733+471 8-bit sRGB 193392B 0.000u 0:00.009
I'm guessing that 248x161+733+471 (Geometry) is what I'm looking for?
Re: get .psd layer (x,y) positions
Yes that is what you are looking for. And you should skip the first image because that is the merged image and not a layer.
Re: get .psd layer (x,y) positions
thanks! it worked!