Using Windows, [Version: ImageMagick 6.6.9-7 2011-04-29 Q16 http://www.imagemagick.org], "convert.exe" to export a Photoshop PSD layer to PNG BUT I need it to keep its original Master Photoshop canvas size.
So far, I know I can calculate the original Photoshop canvas size by doing this:
Code: Select all
"C:\identify.exe" -format "%w x %h" c:\mike.psd"[0]
Code: Select all
8000 x 6000
Code: Select all
"C:\convert.exe" "c:\mike.psd"[1] "c:\mike.png"
I'm struggling to find the correct syntax to force the non-trimming of the output png file. I also need the PNG files to be correct "alphed out" as they are in the PSD file.
I tried this:
Code: Select all
-layers TrimBounds
Does anyone know the correct method / syntax? I would love to know!
Thanks,
Mike