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

Path tool and plug-ins?

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.

Path tool and plug-ins? Matteo Quintiliani 25 Oct 18:32
  Path tool and plug-ins? Joao S. O. Bueno Calligaris 26 Oct 05:15
Matteo Quintiliani
2005-10-25 18:32:07 UTC (over 18 years ago)

Path tool and plug-ins?

Dears all,
I'm developing an open source plug-in capable of vectorise historical seismograms.
http://registry.gimp.org/list?name=teseo http://sismos.ingv.it/teseo/

Using function gimp_vectors_compat_get_points() with a path that have more than one component, I get the following message: Gimp-Vectors-WARNING **: gimp_vectors_compat_get_points(): convert failed"

I took a look in gimp-2.2.8/app/vectors/gimpvectors-compat.c line 164 of 281, and I was very surprised reading:

=================================== if (open_count >= 2)
{
g_warning ("gimp_vectors_compat_get_points(): convert failed");
*n_points = 0;
return NULL;
}

===================================

Has someone planned to extend this function? If not, could someone provide me further information to do this? I'll be very happy to help in gimp development.

Sincerely, Matteo Quintiliani

Joao S. O. Bueno Calligaris
2005-10-26 05:15:23 UTC (over 18 years ago)

Path tool and plug-ins?

Indeed, the Paths itnernals and UI was completly revamped on GIMP 2.0, but the API never catched on.

There is no way to work properly with multple component paths with the current API, as you had found out.

I cannot give further advise at gthis moemnt, but to ask politely for you to take a look at the source. Tehre is a bug report dealing with this in GIMP's bugzilla, but there is nothing serious there.

Apart from that, we have to wait for Simon to step him, and give some hints (he redesigned the vector internals for 2.0). Either way, you will be better able to follow his suggestions if you had already taken a look at the source.

Regards!!

JS ->

On Tuesday 25 October 2005 02:32 pm, Matteo Quintiliani wrote:

Dears all,
I'm developing an open source plug-in capable of vectorise historical seismograms.
http://registry.gimp.org/list?name=teseo http://sismos.ingv.it/teseo/

Using function gimp_vectors_compat_get_points() with a path that have more than one component, I get the following message: Gimp-Vectors-WARNING **: gimp_vectors_compat_get_points(): convert failed"

I took a look in gimp-2.2.8/app/vectors/gimpvectors-compat.c line 164 of 281, and I was very surprised reading:

=================================== if (open_count >= 2)
{
g_warning ("gimp_vectors_compat_get_points(): convert failed");
*n_points = 0;
return NULL;
}

===================================

Has someone planned to extend this function? If not, could someone provide me further information to do this? I'll be very happy to help in gimp development.

Sincerely, Matteo Quintiliani