16bit Photoshop PSD watermarking

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Cable35
Posts: 9
Joined: 2018-12-05T09:45:42-07:00
Authentication code: 1152

16bit Photoshop PSD watermarking

Post by Cable35 »

Version: ImageMagick 7.0.8-15 Q16 x86_64 2018-12-07 https://imagemagick.org

Hello, i am still working with this code to watermark images and ran into a 16bit PSD image. The image that ImageMagick makes is "scrambled" for lack of a better term. Is there something i need to do to get convert to work with 16bit PSDs?

Code: Select all

dim=`20181205.PSD[0] -format "%wx%h" info:`
convert \( 20181205.PSD[0] -background white -flatten \) \
\( -clone 0 -fill "gray(10%)" -colorize 50 \) \
\( watermark.png -alpha extract -auto-level \
-write mpr:tile +delete -size $dim tile:mpr:tile \) \
-alpha off -compose over -composite \
20181205_watermarked.PSD
16bit PSD (warning 400meg file size):
https://www.dropbox.com/s/ch45qhhg3mlls ... 5.PSD?dl=0

watermark PNG:
https://www.dropbox.com/s/h9alumw198zep ... k.png?dl=0

Thanks!
Cable35
Posts: 9
Joined: 2018-12-05T09:45:42-07:00
Authentication code: 1152

Re: 16bit Photoshop PSD watermarking

Post by Cable35 »

Sorry i posted too soon... i found -depth 8 and that fixed my problem. You can delete this question i could not find a way for me to do it.

Sorry i will do more research before posting!

Thanks!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: 16bit Photoshop PSD watermarking

Post by fmw42 »

There is an X box in the top right portion of the post to the left of your name that will allow you to delete your own posts.
Post Reply