Watermarking Transparent PSD Image
-
- Posts: 45
- Joined: 2016-09-18T15:42:46-07:00
- Authentication code: 1151
Watermarking Transparent PSD Image
Hi ,
We are looking for commands for watermarking PSD Image .
Version :
ImageMagick 6.9.0-0 Q16 x64 2014-11-14
Sample Image :
https://1drv.ms/u/s!AuiGMeVn7efEgQSndt9h7uhjEOOy
Thanks in Advance .
We are looking for commands for watermarking PSD Image .
Version :
ImageMagick 6.9.0-0 Q16 x64 2014-11-14
Sample Image :
https://1drv.ms/u/s!AuiGMeVn7efEgQSndt9h7uhjEOOy
Thanks in Advance .
-
- Posts: 45
- Joined: 2016-09-18T15:42:46-07:00
- Authentication code: 1151
Re: Watermarking Transparent PSD Image
Currently i am using below command
composite -compose Plus -tile -geometry +75 -watermark 80 -gravity center %watermarkPath% %_vartest%[0] %_finalimageName%
image is not completely watermarked on the background for water marked PSD.Need help in watermarking complete background for a transparent PSD
Thanks in advance .
composite -compose Plus -tile -geometry +75 -watermark 80 -gravity center %watermarkPath% %_vartest%[0] %_finalimageName%
image is not completely watermarked on the background for water marked PSD.Need help in watermarking complete background for a transparent PSD
Thanks in advance .
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Watermarking Transparent PSD Image
Please provide the watermark image.
-
- Posts: 45
- Joined: 2016-09-18T15:42:46-07:00
- Authentication code: 1151
Re: Watermarking Transparent PSD Image
Here is the Watermarked PSD :
https://1drv.ms/u/s!AuiGMeVn7efEgQWBboGoYP6eU_qy
Source PSD Below
https://1drv.ms/u/s!AuiGMeVn7efEgQSndt9h7uhjEOOy
1 .We want to watermark the background as well along with image .
2 .is there an option to water mark the image with Gray (non white) ?
https://1drv.ms/u/s!AuiGMeVn7efEgQWBboGoYP6eU_qy
Source PSD Below
https://1drv.ms/u/s!AuiGMeVn7efEgQSndt9h7uhjEOOy
1 .We want to watermark the background as well along with image .
2 .is there an option to water mark the image with Gray (non white) ?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Watermarking Transparent PSD Image
I need the image that is to be used for the watermark, not the result of the watermark processing.
-
- Posts: 45
- Joined: 2016-09-18T15:42:46-07:00
- Authentication code: 1151
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Watermarking Transparent PSD Image
What format do you want the output? If the output is PSD, then IM probably can only save that as a flattened result. IM does not have sophisticated capabilities to handle layer groups and multiple transparency layers. I will test and get back.
-
- Posts: 45
- Joined: 2016-09-18T15:42:46-07:00
- Authentication code: 1151
Re: Watermarking Transparent PSD Image
We want Output as PSD .
Thanks for your help.
Thanks for your help.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Watermarking Transparent PSD Image
I can only create a flattened PSD on output. Watermarking a transparent image is not quite as easy as opaque ones.
# line 1: read input PSD and convert from CMYK to sRGB and read watermark image
# line 2: save the alpha channel and make sure it is full dynamic range
# line 3: create a gray image of the amount of gray you want
# line 4: extract the alpha channel from your watermark image, since all the text is in the alpha channel
# line 5: composite the sRGB input, gray image and mask from water mark image with alpha off on all images
# line 6: deleete the temp clones and put the original alpha channel back onto the watermarked image
# line 7: save the output (optionally you can add a profile)
# note you can replace -colorspace sRGB will an sRGB profile using -profile (for better color quality
# line 1: read input PSD and convert from CMYK to sRGB and read watermark image
# line 2: save the alpha channel and make sure it is full dynamic range
# line 3: create a gray image of the amount of gray you want
# line 4: extract the alpha channel from your watermark image, since all the text is in the alpha channel
# line 5: composite the sRGB input, gray image and mask from water mark image with alpha off on all images
# line 6: deleete the temp clones and put the original alpha channel back onto the watermarked image
# line 7: save the output (optionally you can add a profile)
# note you can replace -colorspace sRGB will an sRGB profile using -profile (for better color quality
Code: Select all
convert \( W_MYAG_F7956_14021_001X.psd[0] -colorspace sRGB \) LimitedUsePSD.png \
\( -clone 0 -alpha extract -auto-level \) \
\( -clone 1 -fill "gray(50%)" -colorize 100 \) \
\( -clone 1 -alpha extract -auto-level \) \
\( -clone 0 -clone 3 -clone 4 -alpha off -gravity center -compose over -composite \) \
-delete 0,1,3,4 +swap -alpha off -compose over -compose copy_opacity -composite \
result.psd
-
- Posts: 45
- Joined: 2016-09-18T15:42:46-07:00
- Authentication code: 1151
Re: Watermarking Transparent PSD Image
Hi ,
I tried to run the same command from my Windows command prompt .I am seeing file not found though file located at same location
Here is what i tried
D:\>convert \(test.psd[0] -colorspace sRGB\) LimitedUsePSD.png ( -clone 0 -alpha
extract -auto-level ) ( -clone 1 -fill "gray(50%)" -colorize 100 ) ( -clone 1 -
alpha extract -auto-level ) ( -clone 0 -clone 3 -clone 4 -alpha off -gravity cen
ter -compose over -composite ) -delete 0,1,3,4 +swap -alpha off -compose over -c
ompose copy_opacity -composite test2.psd
convert.exe: unable to open image `\(test.psd': No such file or directory @ erro
r/blob.c/OpenBlob/2709.
convert.exe: unrecognized image colorspace `sRGB\)' @ error/convert.c/ConvertIma
I tried to run the same command from my Windows command prompt .I am seeing file not found though file located at same location
Here is what i tried
D:\>convert \(test.psd[0] -colorspace sRGB\) LimitedUsePSD.png ( -clone 0 -alpha
extract -auto-level ) ( -clone 1 -fill "gray(50%)" -colorize 100 ) ( -clone 1 -
alpha extract -auto-level ) ( -clone 0 -clone 3 -clone 4 -alpha off -gravity cen
ter -compose over -composite ) -delete 0,1,3,4 +swap -alpha off -compose over -c
ompose copy_opacity -composite test2.psd
convert.exe: unable to open image `\(test.psd': No such file or directory @ erro
r/blob.c/OpenBlob/2709.
convert.exe: unrecognized image colorspace `sRGB\)' @ error/convert.c/ConvertIma
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Watermarking Transparent PSD Image
In my command, change all \( ... \) to ( ... ) and change end of line \ to ^
You left in one pair \( ... |) \ right after convert and all ( and ) must have spaces on either side.
If you put this in a bat file, the % must also go to %%, I think.
See http://www.imagemagick.org/Usage/windows/
You left in one pair \( ... |) \ right after convert and all ( and ) must have spaces on either side.
If you put this in a bat file, the % must also go to %%, I think.
See http://www.imagemagick.org/Usage/windows/
-
- Posts: 45
- Joined: 2016-09-18T15:42:46-07:00
- Authentication code: 1151
Re: Watermarking Transparent PSD Image
Hi ,
Thanks for your help .
1. Is there a way to watermark complete image including transparent background ? .Currently the given command is watermarking partial image ,and not watermarking transparent background
Thanks for your help .
1. Is there a way to watermark complete image including transparent background ? .Currently the given command is watermarking partial image ,and not watermarking transparent background
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Watermarking Transparent PSD Image
You either have to stretch your water mark image to the same size as the background image or you have to tile it out. If tiling, you may get discontinuities in the tiled result if the watermark image is not set up properly in size for tiling.
Are you saying that you want the watermark to show in the transparent areas? That means that the alpha channel needs to be changes as well.
Please confirm which way you want to deal with filling the watermark image out to full size of background.
Are you saying that you want the watermark to show in the transparent areas? That means that the alpha channel needs to be changes as well.
Please confirm which way you want to deal with filling the watermark image out to full size of background.
-
- Posts: 45
- Joined: 2016-09-18T15:42:46-07:00
- Authentication code: 1151
Re: Watermarking Transparent PSD Image
Our requirement is to watermark the complete image along with Transparent areas.
-
- Posts: 45
- Joined: 2016-09-18T15:42:46-07:00
- Authentication code: 1151
Re: Watermarking Transparent PSD Image
Our requirement is to watermark the complete image along with Transparent areas with tile.