This command does the trick for me, everything in image 2 that is white (cmyk,0,0,0,0) is made transparant before using image2 as an overlay on top of image1:
convert image1.jpg -gravity center \( image2.eps -alpha set -transparent icc-color\(cmyk,0,0,0,0\) \) -composite output.tiff
Thank you ...
Search found 4 matches
- 2019-04-19T09:35:15-07:00
- Forum: Users
- Topic: Copy a certain CMYK color from one image to another image
- Replies: 6
- Views: 5643
- 2019-04-19T08:41:06-07:00
- Forum: Users
- Topic: Copy a certain CMYK color from one image to another image
- Replies: 6
- Views: 5643
Re: Copy a certain CMYK color from one image to another image
I'm using
Version: ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org
on
Ubuntu 18.10 LTS
I multiplied the pixels because optically it came close to what I was looking for. Image2 has only two colours white and CMYK 60 30 20 80 (which comes close to black)
Version: ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org
on
Ubuntu 18.10 LTS
I multiplied the pixels because optically it came close to what I was looking for. Image2 has only two colours white and CMYK 60 30 20 80 (which comes close to black)
- 2019-04-19T07:04:58-07:00
- Forum: Users
- Topic: Copy a certain CMYK color from one image to another image
- Replies: 6
- Views: 5643
Re: Copy a certain CMYK color from one image to another image
I'm also unsure about the icc-colours & CMYK relation.
The second image has only two colours, CMYK 60 30 20 80 and white. Maybe this information helps solving the problem.
What I used sofar was:
composite -compose multiply image2.eps -gravity center image1.jpg output.jpg
But the colours CMYK ...
The second image has only two colours, CMYK 60 30 20 80 and white. Maybe this information helps solving the problem.
What I used sofar was:
composite -compose multiply image2.eps -gravity center image1.jpg output.jpg
But the colours CMYK ...
- 2019-04-19T03:05:24-07:00
- Forum: Users
- Topic: Copy a certain CMYK color from one image to another image
- Replies: 6
- Views: 5643
Copy a certain CMYK color from one image to another image
I try to combine two CMYK based images into one image. The first image serves as background, the 2nd image as overlay. However, from the second image I only want to use pixels that have a certain pre-defined colour.
image1.jpg JPEG 7121x1434 7121x1434+0+0 8-bit CMYK 918KB 0.000u 0:00.000
image2.eps ...
image1.jpg JPEG 7121x1434 7121x1434+0+0 8-bit CMYK 918KB 0.000u 0:00.000
image2.eps ...