gimp.set_foreground(color) # Create a new text layer layer = pdb.gimp_text_fontname(img, None, 0, 0, initstr, 10, True, size, PIXELS, font) # Resize the image to the size of the layer img.resize(layer.width, layer.height, 0, 0)(from helloworld.py)
gimp.set_foreground(color) # Create a new text layer layer = pdb.gimp_text_fontname(img, None, 0, 0, initstr, 10, True, size, PIXELS, font) # Resize the image to the size of the layer img.resize(layer.width, layer.height, 0, 0)(from helloworld.py)
gimp_text_fontname() ? Who would think to look for something like that? How do you find these function names, anyway?