mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-16 03:51:16 +00:00
Gradient: Perceptual PDF help says an RGB destination keeps RGB stops in RGB
The `method` text of `paint.editGradient` and two passages of docs/mcp.md said a CMYK document writes RGB and Lab gradient stops in CMYK. An export that converts colors to an RGB destination profile converts them to that profile first, so in a CMYK document they stay RGB and a Perceptual spot gradient with such stops is written as an image with the spot warning. The texts now say so, and the test of RGB stops in a CMYK document also checks the RGB destination case.
This commit is contained in:
+4
-4
@@ -926,8 +926,8 @@ Method (the Gradient panel's menu): `classic` (the default) mixes the colours be
|
||||
Perceptual gradient as an image at the Document Raster Effects resolution (a dithered Perceptual fill with its noise).
|
||||
PDF exports write it the same way, except for a linear or radial gradient with spot color stops whose other stops
|
||||
are all paper white or written in CMYK or gray, that is not a dithered fill and whose curve does not have too many
|
||||
stops. A CMYK document, or an export that converts colors to a CMYK destination profile, writes RGB and Lab stops in
|
||||
CMYK. PDF writes tints of one spot ink as a Separation shading in that ink, and spot inks mixed with other spot, CMYK
|
||||
stops. An export that converts colors to a CMYK destination profile writes RGB and Lab stops in CMYK, and so does a
|
||||
CMYK document unless the export converts colors to an RGB destination profile. PDF writes tints of one spot ink as a Separation shading in that ink, and spot inks mixed with other spot, CMYK
|
||||
or gray inks as a DeviceN shading.
|
||||
`paint.setFill`/`paint.setStroke` take it in `gradient` too:
|
||||
|
||||
@@ -2788,8 +2788,8 @@ give it `swatch` (and `tint` %, default 100 or a tint swatch's own) instead of `
|
||||
in gradient swatches. A spot stop separates on its plate. A linear or radial gradient whose stops are all tints of one spot ink (or
|
||||
paper white, 0 %) exports to PDF as a Separation shading, and one that mixes spot inks with other spot, CMYK or gray
|
||||
inks exports as a DeviceN shading. A gradient that mixes a spot ink with colors written in RGB or Lab is written in
|
||||
process colors, with a warning; a CMYK document, or an export that converts colors to a CMYK destination profile,
|
||||
writes RGB and Lab stops in CMYK. Freeform gradients and dithered fills export to PDF as images in process colors, and Method
|
||||
process colors, with a warning; an export that converts colors to a CMYK destination profile writes RGB and Lab stops
|
||||
in CMYK, and so does a CMYK document unless the export converts colors to an RGB destination profile. Freeform gradients and dithered fills export to PDF as images in process colors, and Method
|
||||
above covers Perceptual gradients.
|
||||
|
||||
```json
|
||||
|
||||
Reference in New Issue
Block a user