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

Text layer information in parasite

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.

Text layer information in parasite Ofnuts 07 Apr 00:24
  Text layer information in parasite Bill Skaggs 07 Apr 22:54
Ofnuts
2012-04-07 00:24:14 UTC (over 12 years ago)

Text layer information in parasite

I would like to use the text information from a text layer (font, spacing...) in a python plugin. I can obtain it from the parasite but only if the file has been saved since the creation of the text layer (I'm using 2.6.8). Is there another way to get at the information, or is the parasite created right away in more recent versions, or can I trigger its creation without saving the image?

Bill Skaggs
2012-04-07 22:54:50 UTC (over 12 years ago)

Text layer information in parasite

I'm not specifically familiar with the Python binding, but the PDB does contain functionality for reading information from text layers -- see http://developer.gimp.org/api/2.0/libgimp/libgimp-gimptextlayer.html for documentation of the C binding.

-- Bill