Hi Mike,
I have tried to create an SVG file and CMYK color space by using SVG property of device-cmyk. The output was not as expected. The output shows only the "stroke" value and "fill" value not came out. Can you help me out whether did I do anything wrong on SVG property or prince XML doesn't support device-cmyk property?
Are there any possibilities to achieve this in princeXML?
Source:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 219 183"><defs><style>.cls-1{stroke-miterlimit:10;stroke-width:3px;}</style></defs><title>fig01</title><rect class="cls-1" x="1.5" y="1.5" width="216" height="180" fill="#009fe3 cmyk(1, 0, 0, 0)" stroke="#1d1d1b cmyk(0, 0, 0, 1)"/></svg>
</body>
</html>
I have tried to create an SVG file and CMYK color space by using SVG property of device-cmyk. The output was not as expected. The output shows only the "stroke" value and "fill" value not came out. Can you help me out whether did I do anything wrong on SVG property or prince XML doesn't support device-cmyk property?
Are there any possibilities to achieve this in princeXML?
Source:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 219 183"><defs><style>.cls-1{stroke-miterlimit:10;stroke-width:3px;}</style></defs><title>fig01</title><rect class="cls-1" x="1.5" y="1.5" width="216" height="180" fill="#009fe3 cmyk(1, 0, 0, 0)" stroke="#1d1d1b cmyk(0, 0, 0, 1)"/></svg>
</body>
</html>
Thanks & Regards,
Chella|TNQ Technologies
+91 98 84 504995