It’s a tiff image. It has a watermark shown in GIMP, Krita and multiple image viewers, except PS.
Original image:
https://www.dropbox.com/s/gevzn497odwsk ... l.tif?dl=0
Watermark:
https://www.dropbox.com/s/lafuqplsoh1fm ... 2.png?dl=0
Result:
https://www.dropbox.com/s/fa7uoko0uzrk6 ... t.tif?dl=0
I’m using .net API via Combine, but reproduced even in CLI with command:
magick original.tif watermark.png -gravity center -composite result.tif
In console such message shown:
magick: Incompatible type for "RichTIFFIPTC"; tag ignored. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/1000.
Do you have any ideas why this happens?
Tried different watermarks – same result.
Watermark visible in every editor/image viewer except Photoshop
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Watermark visible in every editor/image viewer except Photoshop
It works for me with slight modifications using IM 7.0.8.40 Q16 Mac OSX. ImageMagick converts the TIFF file into two files, I think, because it contains background transparency. This is just the way ImageMagick handles TIFFs. They are nearly the same, except the first is very slightly larger than the second.
This shows the tiny print watermark for me in the top left corner, which is wrong.
This shows it centered properly.
You might want to use larger type in the watermark image or enlarge it.
This shows the tiny print watermark for me in the top left corner, which is wrong.
Code: Select all
magick -quiet original.tif watermark2.png +repage -gravity center -compose over -composite result1.tif
Code: Select all
magick -quiet original.tif[0] watermark2.png +repage -gravity center -compose over -composite result1.tif
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Watermark visible in every editor/image viewer except Photoshop
As Fred hints, original.tif contains two images. So the OP command ...
... reads these two images, then a third image "watermark.png". The "-composite" operation places the second image over the first, using the third as a mask. I don't suppose this is what you want.
"original.tif[0]" will use just the first image, and composite the watermark over it.
Code: Select all
magick original.tif watermark.png -gravity center -composite result.tif
"original.tif[0]" will use just the first image, and composite the watermark over it.
snibgo's IM pages: im.snibgo.com