RSS/Atom feed Twitter
Site is read-only, email is disabled

Python and vectors

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

Python and vectors Ofnuts 07 Apr 00:25
  Python and vectors Joao S. O. Bueno 07 Apr 03:50
Ofnuts
2012-04-07 00:25:35 UTC (over 12 years ago)

Python and vectors

Is there a Pythonic way to add a gimp.Vectors to an image (ie not using pdb.gimp_vectors_new(img,name)). I can create a new vector using:

vector=gimp.Vectors(image,name)

But if I then use:

image.vectors.append(vector)

the new path is not even added to image.vectors, and dir(image) doesn't list anything that looks like it would handle new vectors.

Joao S. O. Bueno
2012-04-07 03:50:37 UTC (over 12 years ago)

Python and vectors

On 6 April 2012 21:25, Ofnuts wrote:

Is there a Pythonic way to add a gimp.Vectors to an image (ie not using pdb.gimp_vectors_new(img,name)). I can create a new vector using:

vector=gimp.Vectors(image,name)

But if I then use:

image.vectors.append(vector)

the new path is not even added to image.vectors, and dir(image) doesn't list anything that looks like it would handle new vectors.

Unfortunatelly, there is not.
And it is too late to have it for gimp 2.8 :-( but feel free to detail an API suggestion, and lets start working on it.

js ->

_______________________________________________ gimp-developer-list mailing list
gimp-developer-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gimp-developer-list