Copy a certain CMYK color from one image to another image
Posted: 2019-04-19T03:05:24-07:00
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 EPT 6008x298 6008x298+0+0 16-bit ColorSeparation CMYK 7.162MB 0.000u 0:00.000
from image2 I only want to use pixels with CMYK colour 60 30 20 80 for the overlay.
the images should be center aligned (-gravity center)
How can this be accomplished using imagemagick?
image1.jpg JPEG 7121x1434 7121x1434+0+0 8-bit CMYK 918KB 0.000u 0:00.000
image2.eps EPT 6008x298 6008x298+0+0 16-bit ColorSeparation CMYK 7.162MB 0.000u 0:00.000
from image2 I only want to use pixels with CMYK colour 60 30 20 80 for the overlay.
the images should be center aligned (-gravity center)
How can this be accomplished using imagemagick?