How to use CxF3 palettes?

Previous topic - Next topic

dcpurton

According to https://wiki.scribus.net/canvas/1.5.4_Release, Scribus can now handle CxF3 colour palettes.

But I can't get them to work. I exported palettes from PANTONE Color Manager in cxf format, but they don't appear in my list of available palettes when I put them in ~/.local/share/scribus/palettes/ (Scribus XML palettes placed here work fine). They don't appear when I put them in the main directory with all the palettes that ship with Scribus. And I can't import them from the Colors and Fills dialog (error is *.cxf does not contain colours which can be imported...).

Am I missing something?

The files exported from PANTONE Color Manager basically look like this (all except one colour removed for brevity):

<?xml version="1.0" encoding="UTF-8"?>
<cc:CxF xmlns:cc="http://colorexchangeformat.com/CxF3-core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<cc:FileInformation>
<cc:CreationDate>2012-02-16T06:55:22+09:00</cc:CreationDate>
<cc:Description>PANTONE+ Solid Coated-V3</cc:Description>
</cc:FileInformation>
<cc:Resources>
<cc:ObjectCollection>
<cc:Object ObjectType="Color"
Name="PANTONE Yellow 012 C"
Id="FB6B9AF9-A791-4D65-90FA-3A299B32EB18"
GUID="68614330-4A3C-364F-CD35-37C0CD3537C0">
<cc:CreationDate>2018-06-18T13:36:30+09:00</cc:CreationDate>
<cc:ColorValues>
<cc:ColorCIELab ColorSpecification="CS0">
<cc:L>87.55</cc:L>
<cc:A>2.18</cc:A>
<cc:B>109.05</cc:B>
</cc:ColorCIELab>
<cc:ColorSRGB ColorSpecification="CS1">
<cc:MaxRange>255</cc:MaxRange>
<cc:R>255</cc:R>
<cc:G>215</cc:G>
<cc:B>0</cc:B>
</cc:ColorSRGB>
</cc:ColorValues>
</cc:Object>
</cc:ObjectCollection>
<cc:ColorSpecificationCollection>
<cc:ColorSpecification Id="CS0">
<cc:TristimulusSpec>
<cc:Illuminant>D50</cc:Illuminant>
<cc:Observer Angle="45">2_Degree</cc:Observer>
<cc:Method>unknown</cc:Method>
</cc:TristimulusSpec>
<cc:MeasurementSpec>
<cc:MeasurementType>Colorimetric_Reflectance</cc:MeasurementType>
<cc:GeometryChoice>
<cc:SingleAngle>
<cc:SingleAngleConfiguration>Annular</cc:SingleAngleConfiguration>
<cc:IlluminationAngle>45</cc:IlluminationAngle>
<cc:MeasurementAngle>0</cc:MeasurementAngle>
</cc:SingleAngle>
</cc:GeometryChoice>
</cc:MeasurementSpec>
</cc:ColorSpecification>
<cc:ColorSpecification Id="CS1">
<cc:TristimulusSpec>
<cc:Illuminant>D65</cc:Illuminant>
<cc:Observer Angle="45">2_Degree</cc:Observer>
<cc:Method>unknown</cc:Method>
</cc:TristimulusSpec>
<cc:MeasurementSpec>
<cc:MeasurementType>Colorimetric_Reflectance</cc:MeasurementType>
<cc:GeometryChoice>
<cc:SingleAngle>
<cc:SingleAngleConfiguration>Annular</cc:SingleAngleConfiguration>
<cc:IlluminationAngle>45</cc:IlluminationAngle>
<cc:MeasurementAngle>0</cc:MeasurementAngle>
</cc:SingleAngle>
</cc:GeometryChoice>
</cc:MeasurementSpec>
</cc:ColorSpecification>
</cc:ColorSpecificationCollection>
</cc:Resources>
</cc:CxF>