Questions tagged [cmyk]

CMYK refers to the standard color model, and related techniques, involved with the four-colour printing process: Cyan, Magenta, and Yellow, and Key (black).

In the traditional four-color printing process (also called process printing), colour is produced by depositing four separate layers of colour over each other: Cyan, Magenta, Yellow, and Black.

The four colors used in the CMYK color model

The abbreviation "CMYK" derives from the initial letters of the three colours, while black is indicated with a "K" for key. This is because black is used to ink the key plate, which contains the artistic detail, or "key" information for the image.

It also refers to the final stage of pre-press, where the final image is separated into four grid layers: one layer for each colour, each rotated slightly to achieve optimal coverage and minimize interference between layers.

CMYK is a subtractive model, meaning that it produces darker colors by adding more pigment, thus causing less light to be reflected. This differs from the use of colour on computer screens, which uses the additive RGB model.

The conversion from one model to another is a standard problem in pre-press software. Questions with the tag will typically be ones focused around this conversion process.

308 questions
3
votes
1 answer

How to programmatically convert a PDF to grayscale using only black ink?

I'm trying to do it using Ghostscript: gs -sOutputFile=gray.pdf \ -sDEVICE=pdfwrite \ -sColorConversionStrategy=Gray \ -dProcessColorModel=/DeviceGray \ -dNOPAUSE -dBATCH \ …
Ian Goodfellow
  • 2,584
  • 2
  • 19
  • 20
3
votes
0 answers

Java: Read a CMYK image to BufferdImage and keep the right color model

I used the twelvemonkeys collection (extending the imageio functionality (very helpful, thank you for that)) to build an image converter (change format, scale, etc.). Until this converter has to deal with RGB images, everything works fine. But now…
3
votes
0 answers

How to use python matplotlib to get the CMYK graph, not the RGB?

I'm using matplotlib to obtain data graph, but I do not know the default setting of color format, RGB or CMYK? if not the RGB, how can I set CMYK in matplotlib code? Thank u all!
Dyllian
  • 223
  • 1
  • 2
  • 9
3
votes
1 answer

Convert/create TIFF images with the ImageMagick tools without losing variants of black

I have to generate a TIFF for print. It is common to use special black tones to get better visual experience. It is cmyk(40%,40%,40%,100%) in my case. Whatever I do when merging two images together (compositing) the tool "convert" converts my…
t3o
  • 329
  • 1
  • 10
3
votes
2 answers

Convert PDF to CMYK but ignore black?

I am converting an RGB PDF to CMYK using the following command: /usr/local/bin/gs -dSAFER -dBATCH -dNOPAUSE -dNOCACHE -sDEVICE=pdfwrite \ -sColorConversionStrategy=CMYK -sColorConversionStrategyForImages=CMYK \ -dProcessColorModel=/DeviceCMYK…
Reado
  • 1,412
  • 5
  • 21
  • 51
3
votes
1 answer

Creating a CMYK figure in EPS or TIFF in R

Good morning I am using R (with ggplot) A journal I am submitting to wants graphics files in either TIFF or EPS and using CMYK (not RGB). Searching around, I found that there is colormodel in PDF but not in 'TIFF. Typing ?eps found nothing, and…
Peter Flom
  • 2,008
  • 4
  • 22
  • 35
3
votes
1 answer

Grayscale CMYK pixel

I need to convert a CMYK image to grayscaled CMYK image. At first i thought i can just use the same method as for RGB -> grayscale conversion, like (R + G + B) / 3 or max(r, g, b) / 2 + min(r, g, b). But unfortunately this works bad for CMYK,…
AvrDragon
  • 7,139
  • 4
  • 27
  • 42
3
votes
2 answers

UIColor CMYK and Lab Values

Simple question, more than likely complex answer: How can I get CMYK and Lab values from a UIColor object (of which I know the RGB values if it helps)? I have found this regarding getting CMYK values but I can't get any accurate values out of it,…
Josh Kahane
  • 16,765
  • 45
  • 140
  • 253
3
votes
2 answers

Convert CMYK PDF into spot colors (colours)

Is it possible to pre-process (in batch) PDFs that are in CMYK format to separate out into spot colours? I have a collection of PDFs that are in CMYK but I require them to be in a 2 spot colour format. The colours are red and black. The black (K) is…
TheStoneFox
  • 3,007
  • 3
  • 31
  • 47
3
votes
3 answers

CMYK values as background Color

I have to set backgroundColor of div using RGB values . Im able to get this way.
Now, Since I also have CMYK (0,1,0.5,0) values , So Can you assist me how to achieve…
user1641519
  • 377
  • 1
  • 4
  • 17
2
votes
1 answer

More or less proper converting from RGB to CMYK

I am working on an app that saves canvas content as a raster image, then user saves it to his computer to print with a printer or print office. If you visit the link, you can click button Export and click the link to save the file. I know I can't…
Sergei Basharov
  • 51,276
  • 73
  • 200
  • 335
2
votes
1 answer

iText drawing in JavaGraphics2D in CMYK

If i use PdfContentByte cb = writer.getDirectContent(); cb.setColorFill(new CMYKColor(c, m, y, k)); it's straightforward. However i have some Swing components, that draw self in Graphics2D, it is very convince to use something like…
AvrDragon
  • 7,139
  • 4
  • 27
  • 42
2
votes
1 answer

Convert RGB JPEG to CMYK JPEG using ColorConverterOp Java

I am attempting to convert a jpeg image in rgb to CMYK colorspace. The only problem is my final output is always a black image. But interesting enough the preview application in MAC shows the image correctly. There does not seem to be an example of…
mtanzania
  • 125
  • 2
  • 12
2
votes
1 answer

GhostScript 9 / ICC Profiles - can this be used to convert a single colour in a PDF from RGB to CMYK?

I saw the accepted answer to this question: Script (or some other means) to convert RGB to CMYK in PDF? ...and it mentioned the ICC profile capability of GhostScript 9, and the ability of GhostScript to re-distill a PDF without "re-frying". This…
Gary McGill
  • 26,400
  • 25
  • 118
  • 202
2
votes
1 answer

Can Prawn generate PDFs in CMYK format?

My client says that the generated PDFs must be in CMYK format. Can Prawn do this? I can't find the answer in the documentation.
Alex D
  • 29,755
  • 7
  • 80
  • 126