[scribus] Script to change colors to CMYK

José Antonio Rocha joseantoniorocha at gmail.com
Wed Jun 17 17:58:23 UTC 2015


This Python code, in Scripter console, change all colors to the CMYK space:

clrs = scribus.getColorNames()
for clr in clrs:
    cmyk = scribus.getColor(clr)
    c = cmyk[0]
    m = cmyk[1]
    y = cmyk[2]
    k = cmyk[3]
    scribus.changeColorCMYK(clr,c,m,y,k)


WARNING: the color management affect the conversion. It's better turn it
off.

--
nome: "José Antonio Meira da Rocha
<https://plus.google.com/+JoséAntonioMeiradaRocha/>"
email: joseantoniorocha at gmail.com
veículo: [ http://meiradarocha.jor.br ]
------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20150617/2253bd86/attachment.html>


More information about the scribus mailing list