goupviet / svg-edit

Automatically exported from code.google.com/p/svg-edit
0 stars 0 forks source link

Ability to use custom palettes #409

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I would like to use other palettes than the default with svg-edit, for example 
the Tango one. 

Inkscape and the GIMP both use a very simple text format for palettes. It would 
be nice if svg-edit 
had support for that format.

Original issue reported on code.google.com by wna...@gmail.com on 14 Jan 2010 at 1:51

GoogleCodeExporter commented 9 years ago
Sorry, I forgot to set Type to Enhancement, and I can't figure out how to do it 
right now.

Original comment by wna...@gmail.com on 14 Jan 2010 at 1:53

GoogleCodeExporter commented 9 years ago
wnauta - thanks, I think only the project members can do that.  Bug with 
googlecode :)

This sounds cool, can you provide some links for palette text formats?

Original comment by codedr...@gmail.com on 14 Jan 2010 at 9:03

GoogleCodeExporter commented 9 years ago
Adobe Ilustrator and Photoshop use some kind of binary format:
http://www.nomodes.com/aco.html

GIMP's palette format is so simple it's not even documented, but here's an 
example:
http://git.gnome.org/browse/gimp/plain/data/palettes/Tango.gpl

Original comment by wna...@gmail.com on 15 Jan 2010 at 8:03

GoogleCodeExporter commented 9 years ago
I made a quick Python script to convert GIMP's palette format to a JavaScript 
line 
that can be copy/pasted into svg-editor.js (it's attached!)

Original comment by wna...@gmail.com on 15 Jan 2010 at 7:16

Attachments:

GoogleCodeExporter commented 9 years ago
In addition to color palettes, I wonder whether we could (in the far future) 
have
something like what is shown there:

http://wiki.netbeans.org/MobilityDesignerRichComponents#The_SVG_Composer_and_the
_SVG_Components_Snippets

A "palette" of SVG radio buttons, checkboxes, comboboxes, etc., which could be
dragged from the "palette", dropped on canvas, and - of course! - later edited, 
and
have JS functions and/or SVG functions, and be animated.

Wouldn't it be fun, to design mockups and things like that? :-)

Original comment by worms_...@yahoo.com on 30 Jan 2010 at 10:37

GoogleCodeExporter commented 9 years ago
Oh. And of course, we need the ability to :
- save an arbitrary set of colours in a custom palette, and also, maybe, 
- the ability to save "assets" such as a previously designed button, a logo, or
whatever :-p

Original comment by worms_...@yahoo.com on 30 Jan 2010 at 10:42

GoogleCodeExporter commented 9 years ago
Note that this bug is only about custom color palettes, not about saving 
shapes.  I
would look at Issue 71 for this.

Original comment by codedr...@gmail.com on 8 Feb 2010 at 4:24

GoogleCodeExporter commented 9 years ago
Issue 588 has been merged into this issue.

Original comment by adeve...@gmail.com on 5 Jul 2010 at 12:51

GoogleCodeExporter commented 9 years ago

Original comment by adeve...@gmail.com on 17 Aug 2010 at 6:47