Search found 4 matches

by R4C3R
2019-04-19T09:35:15-07:00
Forum: Users
Topic: Copy a certain CMYK color from one image to another image
Replies: 6
Views: 4412

Re: Copy a certain CMYK color from one image to another image

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 for al...
by R4C3R
2019-04-19T08:41:06-07:00
Forum: Users
Topic: Copy a certain CMYK color from one image to another image
Replies: 6
Views: 4412

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)
by R4C3R
2019-04-19T07:04:58-07:00
Forum: Users
Topic: Copy a certain CMYK color from one image to another image
Replies: 6
Views: 4412

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 of ...
by R4C3R
2019-04-19T03:05:24-07:00
Forum: Users
Topic: Copy a certain CMYK color from one image to another image
Replies: 6
Views: 4412

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 ...