|
From: | Auto mailings of changes to Lily Issues via Testlilyissues-auto |
Subject: | [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5162 Some hooks useful for video production |
Date: | Wed, 26 Jul 2017 09:22:28 +0000 |
Well, not every simple solution is
far too ad-hoc.
I believe that KISS is still one of the most important priciples.
It is evident that the proposed change to color? and setcolor cannot harm any existing code as lilyponds behaviour does not change unless overloaded-rgb? is set to #t.
It is also evident that the proposed change to dump-page cannot harm any existing code as lilyponds behaviour does not change unless use-ps-dump-page-replacement? is set to #t.
It's also quite obvious that the possibility to pass some code directly to the postscript prolog simply by string-appending it to ps-user-prolog is a usefull feature and does no harm. This feature might also be used for other purposes, e.g. watermarking and page decoration.
Yes. It would be possible to allow color to be either a list of three numbers in the range [0..1] or a list starting with some symbol followed by other values.
You state that this approach would lead to
useful extensibility.
I tend to believe that it is nothing but over-engineering.
Knut
[issues:#5162] Some hooks useful for video production
Status: New
Created: Tue Jul 25, 2017 05:48 PM UTC by Knut Petersen
Last Updated: Tue Jul 25, 2017 06:26 PM UTC
Owner: Knut Petersen
Attachments:
Producing ps or pdf documents intended to be used as
a source for video production requires some changes to
the output at a very late stage.
Often a page needs to repeated more than once with only
changes to some kind of progress bar / line or changes
to the color of a few grobs.
Parts of this postprocessing might be passed to postscript,
parts of this postprocessing might be done in the dump-page
procedure.
Therefore this patch provides a hook to write arbitrary
code to the prolog section of postscript output and a
hook to take over the dump-page process.
Using rgb values < 0 and > 1 for grobs is an efficient
way to pass the information that, when and for how long
an object should change its color to a late state of
processing. Therefore a way to disable the range
check implemented in color? and to disable the precision
restriction in setrgbcolor is provided.
Sent from sourceforge.net because address@hidden is subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Testlilyissues-auto mailing list address@hidden https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto
[Prev in Thread] | Current Thread | [Next in Thread] |