Re: CMYK colours
u...@openlilylib.org writes: > Hi all, > > I just came across the issue of printing coloured scores and wondered > if it's possible to use CMYK colours in LilyPond. From what the NR > says this seems impossible but I wanted to ask anyway. > > If it is *not* possible, what would be - theoretically - the > complexity of adding support for that? > It might be rather straightforward to provide a conversion function in > Scheme (ignoring the issue of colour profiles), but I'm talking of > native support. LilyPond does not actually track colors in any manner if I remember correctly. It just passes them through. So take a look at how RGB support is done, and CMYK support should be straightforward to add. Instead of adding new user-level commands, you could just permit the color commands to accept lists with 4 members as well as three and then just let the backends emit different commands. That's minimally invasive but would not allow us to use RGBA in a similar manner. But maybe partial transparency is better dealt with using separate primitives anyway. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: CMYK colours
Hi Urs, Not directly the answer to your question, but. Adobe Acrobat DC allows one to convert the colour model in a PDF to large set of choices, including CMYK. Therefore it is possible to post process lilypond colour output to CMYK. Granted, not an open source solution, but the pre-press technology is certainly readily available. Do you really want CMYK colours or is it that you want spot colours in your output? Most professional print shops will do RGB to CMYK conversion nowadays as required for their particular print devices. What is the reason for wanting to specify CMYK rather than RGB in the lilypond source? Andrew On 11 March 2017 at 09:19, wrote: > > I just came across the issue of printing coloured scores and wondered if > it's possible to use CMYK colours in LilyPond. From what the NR says this > seems impossible but I wanted to ask anyway. > > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: CMYK colours
Am 2017-03-11 um 01:07 schrieb Andrew Bernard : > Not directly the answer to your question, but. Adobe Acrobat DC allows one to > convert the colour model in a PDF to large set of choices, including CMYK. > Therefore it is possible to post process lilypond colour output to CMYK. > Granted, not an open source solution, but the pre-press technology is > certainly readily available. While that works quite well, it’s not as reliable as defining (device dependent) CMYK colors. You would need to define your RGB and CMYK color spaces (profiles), knowing what you do. > Do you really want CMYK colours or is it that you want spot colours in your > output? That would be the next step, of course ;) > Most professional print shops will do RGB to CMYK conversion nowadays as > required for their particular print devices. What is the reason for wanting > to specify CMYK rather than RGB in the lilypond source? E.g. that you can be sure to get some tones exactly right. (Relying on the default color spaces of European or US printshops – Euroscale vs. SWOP...) Even if it’s not about matching some company color, with small details like notation you might want to make sure to get e.g. exactly 50% tones or only two process colors etc. Greetlings, Hraban --- fiëé visuëlle Henning Hraban Ramm http://www.fiee.net ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user