Hi all, I'm lazy... please tell me where to store in preferences.xml the 'user-calibratable' grayscale conversion values for the grayscale view mode. Something like:
/options/grayscale/r /options/grayscale/g /options/grayscale/b
(off-topic: the value itself is a floating point value between 0 and 1 that says how gray that primary color should be shown; 0 = black, 1 = white)
Thanks! Johan
2013/1/6 Johan Engelen <jbc.engelen@...2592...>:
/options/grayscale/r /options/grayscale/g /options/grayscale/b
It's better to be more descriptive. I would use 'factor-X' or 'luminosity-X' like this:
/options/grayscale/factor-red /options/grayscale/factor-green /options/grayscale/factor-blue
Regards, Krzysztof
On 9-1-2013 2:41, Krzysztof Kosiński wrote:
2013/1/6 Johan Engelen <jbc.engelen@...2592...>:
/options/grayscale/r /options/grayscale/g /options/grayscale/b
It's better to be more descriptive. I would use 'factor-X' or 'luminosity-X' like this:
/options/grayscale/factor-red /options/grayscale/factor-green /options/grayscale/factor-blue
Yeah I agree. The question was more about *where* to put them (also in the Preferences dialog). Is /option/grayscale/ good enough? And where to put them in the pref dialog?
Cheers, Johan
I'd lean towards the following if it is purely just for on-canvas rendering: /option/rendering/grayscale/ Then the preferences would go in Preferences>Rendering (since it's the same for the existing quality options and only for on-canvas rendering).
Just my .02
Cheers, Josh
On Wed, Jan 9, 2013 at 12:04 PM, Johan Engelen <jbc.engelen@...2592...> wrote:
On 9-1-2013 2:41, Krzysztof Kosiński wrote:
2013/1/6 Johan Engelen <jbc.engelen@...2592...>:
/options/grayscale/r /options/grayscale/g /options/grayscale/b
It's better to be more descriptive. I would use 'factor-X' or 'luminosity-X' like this:
/options/grayscale/factor-red /options/grayscale/factor-green /options/grayscale/factor-blue
Yeah I agree. The question was more about *where* to put them (also in the Preferences dialog). Is /option/grayscale/ good enough? And where to put them in the pref dialog?
Cheers, Johan
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
participants (3)
-
Johan Engelen
-
Josh Andler
-
Krzysztof Kosiński