09-24-2021, 08:32 AM
(09-23-2021, 03:01 PM)akovia Wrote:(01-12-2021, 03:06 PM)rich2005 Wrote: Go here: http://sourceforge.net/projects/gimp-too...s/scripts/
Download the text-info-0.1.py plugin (dated 2014-08-26)
In use: Open the .xcf file. Do not use the text tool. Right click on text layer, bottom of the menu click on show text information.
This is not working for me anymore in that it doesn't put the found information in a message box or the error console like it used to. Is this just me?
I can still see the information via the console though.
The code in the script freshly downloaded from SourceForge:
Code:
import re, os, sys
from gimpfu import *
def text_info(img,layer):
parasites=None
try:
parasites=layer.parasite_list()
except Exception as e:
pass;
if parasites and 'gimp-text-layer' in parasites:
data=layer.parasite_find('gimp-text-layer').data
pdb.gimp_message('Text layer "%s": %s' % (layer.name,data))
else:
pdb.gimp_message('No text information found for layer "%s"' % layer.name)
All the output uses Gimp communication channels... (dialog box or error console, depening on your settings). Possibly using a modified version?