Stand-alone gradient editor

General discussions about Inkscape.
rosros
Posts: 68
Joined: Fri Aug 24, 2007 12:54 am

Stand-alone gradient editor

Postby rosros » Mon Oct 22, 2007 4:38 pm

I have brushed up my python code and submitted the idea of the gradient editor to Sourceforge.
See http://sourceforge.net/projects/spectrag/.
This might become an external tools or be integrated in Inkscape...
Can anybody help me?

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Stand-alone gradient editor

Postby microUgly » Mon Oct 22, 2007 8:58 pm

I'm sure someone on the developers mailing list can help.

So is this working code? How does it work when it comes to defining stops and later editing the stops?

rosros
Posts: 68
Joined: Fri Aug 24, 2007 12:54 am

Re: Stand-alone gradient editor

Postby rosros » Tue Oct 23, 2007 1:40 am

The code is working, but as a separate tool, not integrated in Inkscape.
Gradients can be generated (by means of formulas), loaded (only "ggr") and saved (ggr, svg, png with the representation
of the gradient).
Last edited by rosros on Tue Oct 30, 2007 6:26 pm, edited 1 time in total.

rosros
Posts: 68
Joined: Fri Aug 24, 2007 12:54 am

Re: Stand-alone gradient editor

Postby rosros » Wed Oct 24, 2007 7:48 pm

Python programmers are welcome.
Last edited by rosros on Tue Oct 30, 2007 6:27 pm, edited 1 time in total.

rosros
Posts: 68
Joined: Fri Aug 24, 2007 12:54 am

SpectraG: looking for testers

Postby rosros » Fri Oct 26, 2007 7:02 pm


rosros
Posts: 68
Joined: Fri Aug 24, 2007 12:54 am

Re: Stand-alone gradient editor (1_4)

Postby rosros » Fri Nov 09, 2007 1:40 am

I have coded the capability to import the first gradient of an svg file.
Therefore it is now possible to load a gradient from an svg file and save it in ggr format,
which can be used in The Gimp or re-imported in Inkscape.

rosros
Posts: 68
Joined: Fri Aug 24, 2007 12:54 am

Re: Stand-alone gradient editor 1_5

Postby rosros » Fri Nov 09, 2007 9:02 pm

As a further step in the alpha development stage, I have added code that makes it
possible to edit a loaded gradient. The loaded gradient is transformed into a formula first
which can then be (saved and) edited and the gradient then saved as ggr again.

rosros
Posts: 68
Joined: Fri Aug 24, 2007 12:54 am

Re: Stand-alone gradient editor 1_10

Postby rosros » Sat Nov 17, 2007 2:23 am

I have coded the import of Paintshop Pro gradients (PSPGradient and jgd) and prepared an example of how to use the program.
http://spectrag.wiki.sourceforge.net/tutorials

User avatar
capnhud
Posts: 435
Joined: Mon Jun 04, 2007 8:30 pm
Location: U.S.A

Re: Stand-alone gradient editor

Postby capnhud » Sat Nov 17, 2007 6:47 am

Any plans to make this so that you can choose from a variety of gradients that are in a svg?

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Stand-alone gradient editor 1_10

Postby microUgly » Mon Nov 19, 2007 9:24 am

rosros wrote:I have coded the import of Paintshop Pro gradients (PSPGradient and jgd) and prepared an example of how to use the program.
http://spectrag.wiki.sourceforge.net/tutorials

Thanks for the tutorial, I haven't had the time to look what you've been doing first hand. But this looks really good. It would be great to see it included with Inkscape as an Extension.

rosros
Posts: 68
Joined: Fri Aug 24, 2007 12:54 am

Re: Stand-alone gradient editor

Postby rosros » Tue Nov 20, 2007 12:42 am

The program can already import gradients in the following formats svg, ggr, PSPgradient, grd. The export format is
only ggr (svg compatible!).

User avatar
prokoudine
Posts: 186
Joined: Sat Jun 09, 2007 4:32 am
Contact:

Re: Stand-alone gradient editor

Postby prokoudine » Fri Oct 21, 2011 11:49 pm

rosros wrote:The program can already import gradients in the following formats svg, ggr, PSPgradient, grd. The export format is
only ggr (svg compatible!).

May I ask why you removed all source code? :)
http://libregraphicsworld.org — news and tutorials on free design software

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Stand-alone gradient editor

Postby ~suv » Sat Oct 22, 2011 2:47 am

prokoudine wrote:
rosros wrote:The program can already import gradients in the following formats svg, ggr, PSPgradient, grd. The export format is
only ggr (svg compatible!).

May I ask why you removed all source code? :)

Maybe because the later (or current) version is hosted at deviantArt now?
(See also this later topic here in the forum: «Spectra (Spectra256)»)

rosros
Posts: 68
Joined: Fri Aug 24, 2007 12:54 am

Re: Stand-alone gradient editor

Postby rosros » Sat Oct 29, 2011 12:09 am

Dear Alexandre & all the others,
the current code is on DA (see link above) and is actually a partial exhumation of the (now very) old code.
"Spectra256" does not include the PSPgradient format but gradient export is possible to ggr (with alfa channel)
and map (256 color points, without alfa channel) formats. It should be deplorable that the old interpolation of
colorpoints (with external python libraries) has not been included, but OTOH that may be harder to notice...

User avatar
Hibou57
Posts: 29
Joined: Sat Jan 17, 2009 10:57 pm
Contact:

Re: Stand-alone gradient editor

Postby Hibou57 » Tue Nov 08, 2011 10:13 am

I wanted to give it a try, but I can't access python files on the above provided SourceForge link. Is it moved ?

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Stand-alone gradient editor

Postby ~suv » Tue Nov 08, 2011 2:31 pm

Hibou57 wrote:I wanted to give it a try, but I can't access python files on the above provided SourceForge link. Is it moved ?
Didn't you read the last two comments right above yours? ;)


Return to “General Discussions”