Highlighted

CC2020 indesign SVG CMYK color support?

New Here ,
Nov 06, 2019

Copy link to clipboard

Copied

Thank you for supporting SVG in indesign cc2020.

By the way, SVG is basically RGB, but I know that the spec supports CMYK.

I want to know whether SVG supports CMYK color in cc2020.

 

Thank you.

TOPICS
Import and export

Views

940

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

CC2020 indesign SVG CMYK color support?

New Here ,
Nov 06, 2019

Copy link to clipboard

Copied

Thank you for supporting SVG in indesign cc2020.

By the way, SVG is basically RGB, but I know that the spec supports CMYK.

I want to know whether SVG supports CMYK color in cc2020.

 

Thank you.

TOPICS
Import and export

Views

941

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 06, 2019 0
Adobe Community Professional ,
Nov 06, 2019

Copy link to clipboard

Copied

It's unlikely it will ever affect my workflow, but your question made me curious so I Saved (not exported) an SVG made up of CMYK elements in an Illustrator document that is in CMYK Document Color Mode, and Placed it in InDesign.

 

In InDesign, I used the Separations Preview panel to observe and confirm the Placed SVG does indeed behave like a CMYK graphic.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 06, 2019 0
Adobe Community Professional ,
Nov 06, 2019

Copy link to clipboard

Copied

Hi John, Separation Preview always displays CMYK values even for placed RGB objects. I haven’t installed 2020—but what happens to a placed SVG with a black only CMYK object 0|0|0|100? If it converts to 4-color, it might not actually be CMYK.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 06, 2019 0
Adobe Community Professional ,
Nov 06, 2019

Copy link to clipboard

Copied

Yeah that makes sense Rob. Thanks for the follow-up.

 

And, your suggested black-only experiment does indeed expose the conversion; 0|0|0|100 becomes 4 colors.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 06, 2019 0
Adobe Community Professional ,
Nov 06, 2019

Copy link to clipboard

Copied

Hi John,

tried that as well with a simple rectangle in Adobe Illustrator filled with a CMYK color 0-50-100-0.

Placing the AI file yield in exactly that CMYK numbers.

Saved an SVG file from the AI file and placed that. The CMYK numbers in Separation View changed to 0-50-97-0.

 

Code of the SVG file saved is:

 

 

<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 23.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<svg version="1.2" baseProfile="tiny" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
	 x="0px" y="0px" viewBox="0 0 100 100" xml:space="preserve">
<rect fill="#F39100" width="100" height="100"/>
</svg>

 

 

The rectangle fill color was exported saved to the SVG file as #F39100. No CMYK values in sight.

Color management settings in Illustrator and InDesign are all the same.

 

So I think this is no proof for SVGs with CMYK colors.

 

Regards,
Uwe Laubender

( ACP )

 

EDITED

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 06, 2019 0
Adobe Community Professional ,
Nov 06, 2019

Copy link to clipboard

Copied

tried that as well with a simple rectangle in Adobe Illustrator filled with a CMYK color 0-50-100-0.

Placing the AI file yield in exactly that CMYK numbers.

 

Illustrator documents have a document color space, so if you export an SVG from a CMYK Illustrator document, it must go out as DeviceRGB since there would be no way to assign an RGB profile inside of a CMYK AI document, and the SVG export dialog has no profile option.

 

I would guess that the appearance and Separation values of your color would change depending on the InDesign document’s assigned RGB profile—a ProPhoto RGB assignment would produce different separation values for the SVG object than an sRGB assignment?

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 06, 2019 0
Most Valuable Participant ,
Nov 06, 2019

Copy link to clipboard

Copied

SVG does *not* support CMYK. It's just not there. (Whoops. I wrote "CMYK does not support CMYK originally, but I fixed it). Just because there is demand for SVG in InDesign that doesn't make it a full fledged prepress format. I do hope Adobe don't create an "extended SVG" which does support CMYK, that will lead to all sorts of havoc. However, there are proposals for named (=spot) colour in a future SVG.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 06, 2019 0
Most Valuable Participant ,
Nov 06, 2019

Copy link to clipboard

Copied

In case there is any lingering doubt or hope that SVG supports CMYK: https://www.w3.org/TR/SVG11/color.html

"All SVG colors are specified in the sRGB color space [SRGB]. At a minimum, SVG user agents shall conform to the color behavior requirements specified in the color units section and the minimal gamma correction rules defined in the CSS2 specification. Additionally, SVG content can specify an alternate color specification using an ICC profile [ICC42] as described in Specifying paint. If ICC-based colors are provided and the SVG user agent supports ICC color, then the ICC-based color takes precedence over the sRGB color specification; otherwise, the RGB fallback colors must be used. Note that, in this specification, color interpolation occurs in an RGB color space even if an ICC-based color specification is provided (see ‘color-interpolation’)."

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 06, 2019 1
New Here ,
Nov 06, 2019

Copy link to clipboard

Copied

I don't think it's easy to match RGB to CMYK exactly.
But wouldn't it be possible if the SVG author puts CMYK values ​​corresponding to RGB as in the SVG specification below?

https://www.w3.org/TR/SVGColor12/#icc-colors

 

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 06, 2019 0
Adobe Community Professional ,
Nov 06, 2019

Copy link to clipboard

Copied

I don't think it's easy to match RGB to CMYK exactly.

 

If the RGB color is inside of the destination CMYK space, then a color managed conversion would match. Here the blue is in gamut so a color managed conversion from sRGB to US Web Coated SWOP is a perfect match. If the source RGB color is out-of-gamut, like the green below, then there can’t be a match:

 

Screen Shot 22.png

If you need a specifically built CMYK color, something like 50% gray, or 10|0|0|40 gray, or 100% black; then color managed RGB conversions would be a problem because the conversions are always managed. Most common CMYK profiles convert one color grays into their 4-color equivalent.

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 06, 2019 0
New Here ,
Nov 06, 2019

Copy link to clipboard

Copied

I think I lacked some explanation.
Is it impossible to have a reference to a GRB value if the InDesign color mode is a GRB and a CMYK value if it is a CMYK mode?
See the SVG code below.

 

<color-profile name = "acmecmyk" xlink: href = "http://printers.example.com/acmecorp/model1234" />
    <circle fill = "# CD853F icc-color (acmecmyk, 0.11, 0.48, 0.83, 0.00)" />
or
<circle fill = "# CD853F device-cmyk (0.11, 0.48, 0.83, 0.00)" />

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 06, 2019 0
Adobe Community Professional ,
Nov 07, 2019

Copy link to clipboard

Copied

...if the InDesign color mode is a RGB and a CMYK value if it is a CMYK mode?

 

InDesign doesn‘t have a document color mode the way Illustrator does. There can be a mix of RGB, CMYK, or Lab colored objects on a page. An InDesign document has both CMYK and RGB color profile assignments to color manage the preview and conversions. With image files you can accurately sample color with the eyedropper, with AI or PDF files the eydropper samples from the RGB preview proxy—you can’t reliably get the actual color.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 07, 2019 0
Adobe Community Professional ,
Nov 07, 2019

Copy link to clipboard

Copied

Hi yaws,

did you try to write a "real-world" valid SVG file with that code?

If yes, can you place it with InDesign? Or open it with Illustrator or e.g. InkScape?

 

Thanks,
Uwe Laubender

( ACP )

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 07, 2019 0
New Here ,
Nov 07, 2019

Copy link to clipboard

Copied

 

<svg version="1.2" baseProfile="tiny" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
	 x="0px" y="0px" viewBox="0 0 100 100" xml:space="preserve">
<rect fill="#00A0E0 device-cmyk(1.00, 0.00, 0.00, 0.00)" width="100" height="100"/>
</svg>

 

Here is the SVG code with a slight modification.
The Mac preview is black, as shown below, but the InDesign CC2020 shows RGB as CMYK.
But what I want is to show the alternative color CMYK values ​​(device-cmyk (1.00, 0.00, 0.00, 0.00)) when InDesign is in CMYK color mode.

 

스크린샷 2019-11-07 오후 8.06.44.png

[indesign cc2020]

 

스크린샷 2019-11-07 오후 8.06.53.png

[mac preview]

 

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 07, 2019 0
New Here ,
Nov 07, 2019

Copy link to clipboard

Copied

<svg version="1.2" baseProfile="tiny" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
	 x="0px" y="0px" viewBox="0 0 100 100" xml:space="preserve">
<rect fill="#00A0E0 device-cmyk(1.00, 0.00, 0.00, 0.00)" width="100" height="100"/>
</svg>

Here is the SVG code with a slight modification.
The Mac preview is black, as shown below, but the InDesign CC2020 shows RGB as CMYK.
But what I want is to show the alternative color CMYK values ​​(device-cmyk (1.00, 0.00, 0.00, 0.00)) when InDesign is in CMYK color mode.

 

스크린샷 2019-11-07 오후 8.06.44.png

[indesign cc2020]

 

 

스크린샷 2019-11-07 오후 8.06.53.png

[mac preview]

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 07, 2019 0
New Here ,
Nov 07, 2019

Copy link to clipboard

Copied

<svg version="1.2" baseProfile="tiny" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
	 x="0px" y="0px" viewBox="0 0 100 100" xml:space="preserve">
<rect fill="#00A0E0 device-cmyk(1.00, 0.00, 0.00, 0.00)" width="100" height="100"/>
</svg>

Here is the SVG code with a slight modification.
The InDesign CC2020 shows RGB as CMYK.
But what I want is to show the alternative color CMYK values ​​(device-cmyk (1.00, 0.00, 0.00, 0.00)) when InDesign is in CMYK color mode.

 

 

스크린샷 2019-11-07 오후 8.06.44.png

 

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 07, 2019 0
Adobe Community Professional ,
Nov 07, 2019

Copy link to clipboard

Copied


But what I want is to show the alternative color CMYK values ​​(device-cmyk (1.00, 0.00, 0.00, 0.00)) when InDesign is in CMYK color mode.

 

I think you are misunderstanding the Separation Preview panel. It doesn't indicate the color mode of an object, it is showing how the sampled color will output to the document’s CMYK profile, which should represent the intended output device.

 

Again, InDesign doesn‘t have a document color space—there is nowhere to set a document color mode. If I sample a native RGB color, the Separation panel will show its expected conversion to CMYK in print output, but it is still an RGB color. The Color panel shows its nearest CMYK appearance along with a gamut warning

 

Screen Shot 24.png

 

If I turn on Separation Preview it shows how the RGB color will convert to the document’s CMYK space without actually making a conversion:

 

Screen Shot 27.png

 

The numbers change depending on the assignment, here US Sheetfed Coated is the simulation space:

 

Screen Shot 28.png

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 07, 2019 0
Adobe Community Professional ,
Nov 07, 2019

Copy link to clipboard

Copied

Also, if I save your code and open the .svg in Illustrator, it opens as RGB with no profile:

 

Screen Shot.png

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 07, 2019 0