(inspired by the recent palette improvements and with the help of Aaron Spike)
* The new "Inkscape default" color palette was added. It contains a range of grays, standard HTML named colors, and a full range of colors sorted by their HSL values (475 colors overall). It is generated by a Python script which is also put into SVN in share/palettes.
* A number of specialized color palettes, useful in color-coordinated projects, was borrowed from GIMP: Reds, Greens, Blues, Gold, Royal, Khaki, Hilite, and Topographic.
On Tuesday 23 May 2006 23:53, bulia byak wrote:
(inspired by the recent palette improvements and with the help of Aaron Spike)
* The new "Inkscape default" color palette was added. It contains
a range of grays, standard HTML named colors, and a full range of colors sorted by their HSL values (475 colors overall). It is generated by a Python script which is also put into SVN in share/palettes.
* A number of specialized color palettes, useful in
color-coordinated projects, was borrowed from GIMP: Reds, Greens, Blues, Gold, Royal, Khaki, Hilite, and Topographic.
Did you use the create locations for finding all of these without storing them all in SVN?
Craig
On 5/23/06, Craig Bradney <cbradney@...242...> wrote:
Did you use the create locations for finding all of these without storing them all in SVN?
Nope, I don't know how to do that and if it works at all in Inkscape. Can anybody fill me in on that?
On Wednesday 24 May 2006 00:51, bulia byak wrote:
On 5/23/06, Craig Bradney <cbradney@...242...> wrote:
Did you use the create locations for finding all of these without storing them all in SVN?
Nope, I don't know how to do that and if it works at all in Inkscape. Can anybody fill me in on that?
Look in the defined create dirs, I think Jon Cruz (correct me if I'm wrong) did some work for this in Inkscape somewhere...?
On X11 the dirs to look for are as follows: ~/create/swatches/ ~/.create/swatches/ /usr/share/create/swatches/ /usr/local/share/create/swatches/ On Windows, IIRC, these apply, at least on 2k/XP as per our Scribus code: CSIDL_LOCAL_APPDATA/create/swatches CSIDL_COMMON_APPDATA/create/swatches CSIDL_PROGRAM_FILES_COMMON/create/swatches
If the swatches are not in create that you want then please send them to me and I will add them to the tarball. We do plan on a create 0.2 release soon and to start to push into the distros with that.. hopefully.
Heres the current list: Bears Bgold Blues Borders Browns_And_Yellows Caramel Cascade China Coldfire Cool_Colors Cranes Dark_pastels Default Ega Firecode GNOME_HIG Gold Grayblue Grays GrayViolet Greens Hilite Kahki Lights Muted Named_Colors News3 Op2 OpenOffice_org Paintjet Pastels Plasma Reds Reds_And_Purples Royal SConscript svg Tango-Palette Topographic Visibone Visibone2 Volcano Warm_Colors webhex websafe22 X11 X11_Greys
HTH Craig
On May 23, 2006, at 11:49 PM, Craig Bradney wrote:
Look in the defined create dirs, I think Jon Cruz (correct me if I'm wrong) did some work for this in Inkscape somewhere...?
On X11 the dirs to look for are as follows: ~/create/swatches/ ~/.create/swatches/ /usr/share/create/swatches/ /usr/local/share/create/swatches/
I think Joshua had done some preliminary work on this. As far as I can tell, it should currently be checking one of those last two, whichever matches the prefix Inkscape is compiled to. I've not tested it myself, but that should be functional as a first step.
We'll have to wait till after 0.44 to pick up the user-specific directories though.
Thanks. But if we are to share palettes with the GIMP, I see at least 3 problems:
- There are too many. Our palette menu will become unwieldy.
- Some of the palettes are GIMP-specific and less than useful for us: they are designed for two-dimensional presentation with a fixed width, with lots of repeated values. I had to uniq all the palettes I took from GIMP to make them more suitable for Inkscape.
- Most GIMP palettes have "Untitled" as the name of the color, which in Inkscape is shown in the tooltip. To make this tooltip useful, I replaced all such names with #RRGGBB.
On 5/24/06, bulia byak wrote:
Thanks. But if we are to share palettes with the GIMP, I see at least 3 problems:
- There are too many. Our palette menu will become unwieldy.
Would some kind of categorization (therefore submenus) be helpful, if possible?
- Some of the palettes are GIMP-specific and less than useful for us:
they are designed for two-dimensional presentation with a fixed width, with lots of repeated values. I had to uniq all the palettes I took from GIMP to make them more suitable for Inkscape.
It is possible to find a technical solution for this, but what is more important for a user - to have all palettes on one place or to (sometimes) see an extra palette he would not use?
- Most GIMP palettes have "Untitled" as the name of the color, which
in Inkscape is shown in the tooltip. To make this tooltip useful, I replaced all such names with #RRGGBB.
This can and will be fixed. I will add it to roadmap for 0.2.0.
Work on a new file format for palettes is planned [1]. If you have any related thoughts to share, please don't hesitate to do so :)
[1] http://create.freedesktop.org/wiki/index.php/Swatches_-_colour_file_format
Alexandre
On 5/24/06, Alexandre Prokoudine <alexandre.prokoudine@...400...> wrote:
Would some kind of categorization (therefore submenus) be helpful, if possible?
Yes, I think so
It is possible to find a technical solution for this, but what is more important for a user - to have all palettes on one place or to (sometimes) see an extra palette he would not use?
Depends on how many extras are there. If there are too many, they may become seriously confusing.
Work on a new file format for palettes is planned [1]. If you have any related thoughts to share, please don't hesitate to do so :)
[1] http://create.freedesktop.org/wiki/index.php/Swatches_-_colour_file_format
This looks OK to me, though I never gave it a serious thought, so I may well be unaware of some special needs.
On Wednesday 24 May 2006 15:17, bulia byak wrote:
Thanks. But if we are to share palettes with the GIMP, I see at least 3 problems:
- There are too many. Our palette menu will become unwieldy.
Why? You don't have a combobox or similar to select? (Sorry, just building your new SVN version, its been awhile since)
- Some of the palettes are GIMP-specific and less than useful for us:
they are designed for two-dimensional presentation with a fixed width, with lots of repeated values. I had to uniq all the palettes I took from GIMP to make them more suitable for Inkscape.
Our combined feedback might go towards cleaning them up *in* Gimp. I think I already removed the duplicates in the *create* versions.
- Most GIMP palettes have "Untitled" as the name of the color, which
in Inkscape is shown in the tooltip. To make this tooltip useful, I replaced all such names with #RRGGBB.
Yes, rather useless. The name for these in Scribus is the #RRGGBB.
Craig
On 5/24/06, Craig Bradney <cbradney@...242...> wrote:
Why? You don't have a combobox or similar to select? (Sorry, just building your new SVN version, its been awhile since)
We have just a menu, which contains some other stuff as well besides palettes.
Maybe mark some of Create stuff as "Preferable for Inkscape", so it's shown in the menu, and make the rest available via some kind of Create browser?
Our combined feedback might go towards cleaning them up *in* Gimp. I think I already removed the duplicates in the *create* versions.
Some of them will be useless in GIMP if cleaned up, e.g. Visibone. So I guess some of the GIMP (at least) palettes will be shareable and some not.
On 5/24/06, Craig Bradney <cbradney@...242...> wrote:
Bgold
Here's, for example, one immediate source of confusion. What is B and how it's different from plain gold? Can we rename it to something more meaninful?
On Wednesday 24 May 2006 17:15, bulia byak wrote:
On 5/24/06, Craig Bradney <cbradney@...242...> wrote:
Bgold
Here's, for example, one immediate source of confusion. What is B and how it's different from plain gold? Can we rename it to something more meaninful?
Yeah wouldnt that be nice. Honestly, they are what they are from their source programs.
The optimal solution is to not care about the filename and have some name and description fields in each file, as part of the new file format spec..
Craig
On May 23, 2006, at 2:53 PM, bulia byak wrote:
- The new "Inkscape default" color palette was added. It contains
a range of grays, standard HTML named colors, and a full range of colors sorted by their HSL values (475 colors overall). It is generated by a Python script which is also put into SVN in share/palettes.
Do you think we can get it tweaked a bit?
If we can add 5 more colors near the beginning, we can then switch the Columns to 10 instead of 3 and it will look much nicer in the swatches dialog.
:-)
thanks.
Oh, and very nice palette. :-D
participants (4)
-
Alexandre Prokoudine
-
bulia byak
-
Craig Bradney
-
Jon A. Cruz