Difference between revisions of "ColorPalette"

From Inkscape Wiki
Jump to navigation Jump to search
(Commenting that we should be able to use GIMP palettes)
m (starting a colour norm project)
(2 intermediate revisions by the same user not shown)
Line 23: Line 23:
both the global gradients.svg file, as well as a gradients.svg file in
both the global gradients.svg file, as well as a gradients.svg file in
the user's ~/.sodipodi directory.
the user's ~/.sodipodi directory.
(suggestion: possibility to import .acf (Ascii Colour File?) and .bcf (Binary Colour File?) from Macromedia Freehand - .acf, since is a .txt based file (each colour channel is 16bit, meaning 48bit for RGB and 64bit for CMYK), seems to be an open format since it's a .txt )
(question: how far Inkscape (as open-source app) can use known pallete norms, like Pantone, Focoltone, Toyo, Munsell, etc., since some of these are patented, as well copyrighted? - this question has meaning when lots of vectorial-editor users uses intensively these palette norms)
(note: contacting personally each colour norm companies is more than welcome, even expecting negative feedback as i got from Trumatch, which said it's patented and copyrighted, and they licenceed to software systems - my proposal: with artists and engineers help, how about us making an open-source project for a colour norm, regreting print and display, and trying to make it the most popular (even on offset printers, and inkjet/laser printer manufacturers!) colour norm than ever?)
   
   
=== Color Dropper ===
=== Color Dropper ===
Line 36: Line 43:
=== Color Defaults Indicator ===
=== Color Defaults Indicator ===
   
   
In GIMP, there is an indicator showing the current foreground and
In [[The_Gimp]], there is an indicator showing the current foreground and
background colors.  If the user clicks on them, color selectors pop up
background colors.  If the user clicks on them, color selectors pop up
to allow making different selections.
to allow making different selections.
Line 52: Line 59:
-----
-----


It would be really nice if we could use the same color palette format as The GIMP.  I know that it ruins the nice XML/SVG consitency thing - but it means we get lots of palettes for free and potentially a website could have one palette that they use across all tools.  --Ted
It would be really nice if we could use the same color palette format as [[The_Gimp]].  I know that it ruins the nice XML/SVG consitency thing - but it means we get lots of palettes for free and potentially a website could have one palette that they use across all tools.  --Ted

Revision as of 15:50, 4 April 2005

Custom Palette

For fill colors and gradients there needs to be be a 'custom palette', so that the user can "bookmark" particular colors or gradients for future use. Twelve small buttons should be added in the Color paint area of the Object Style Dialog, and should show up to twelve custom colors/gradients. When a button is clicked, the color or gradient settings in other widgets should be changed to match. There should also be a straightforward way for users to add/remove/change items in the color palette.

Palette Files

Each document has its own custom palette, which is initially blank. The user can load or save palettes to palette files, in standard formats consistent with other graphics software.

A global palette.svg file should be installed with Sodipodi, that provides the default palette settings for a blank document. This can include colors as well as any gradients listed in the global gradients.svg file (see the Object Style Gradients task). We must build a reasonably complete palette (e.g. all named HTML colors), along with the most common gradients (e.g. black-to-white, black-to-transparent, white-to-transparent, both vertical and horizontal).

Optionally, the user can have a palette.svg file in their home ~/.sodipodi directory. If present, this will be loaded instead of the global default file, overriding it. This file may refer to gradients in both the global gradients.svg file, as well as a gradients.svg file in the user's ~/.sodipodi directory.

(suggestion: possibility to import .acf (Ascii Colour File?) and .bcf (Binary Colour File?) from Macromedia Freehand - .acf, since is a .txt based file (each colour channel is 16bit, meaning 48bit for RGB and 64bit for CMYK), seems to be an open format since it's a .txt )

(question: how far Inkscape (as open-source app) can use known pallete norms, like Pantone, Focoltone, Toyo, Munsell, etc., since some of these are patented, as well copyrighted? - this question has meaning when lots of vectorial-editor users uses intensively these palette norms) (note: contacting personally each colour norm companies is more than welcome, even expecting negative feedback as i got from Trumatch, which said it's patented and copyrighted, and they licenceed to software systems - my proposal: with artists and engineers help, how about us making an open-source project for a colour norm, regreting print and display, and trying to make it the most popular (even on offset printers, and inkjet/laser printer manufacturers!) colour norm than ever?)


Color Dropper

Status: Halfway implemented, needs more work.

If the current palette has one or more undefined entries, then when one selects colors with the dropper, then they are automatically added to the palette, unless the user is holding the 'ctrl' key.

See also CurrentColorWidget

Color Defaults Indicator

In The_Gimp, there is an indicator showing the current foreground and background colors. If the user clicks on them, color selectors pop up to allow making different selections.

Sodipodi needs an analogous mechanism, but it should include current fill and stroke color settings.

References

"468485 - custom palette"

469121 - "Curve editing and right click menu"



It would be really nice if we could use the same color palette format as The_Gimp. I know that it ruins the nice XML/SVG consitency thing - but it means we get lots of palettes for free and potentially a website could have one palette that they use across all tools. --Ted