11-13-2021, 10:37 PM
(11-13-2021, 07:23 PM)FloppaDisk Wrote: Input is greatly appreciated, so thanks
I have gone through a few way to marge the text to an layer with partial success, but they have all always only added the text to one layer no matter what i did.
And as you mentioned "targeted drawable" i have notices that some or more of the layers name are in bold letters which im assume to be the target layer/s.
How do i set/get/unset target layer?
Name in bold in the Layers list only indicates a layer without an alpha channel.
To add text to a layer directly:
Code:
textLayer = pdb.gimp_text_fontname(image, targetLayer, x, y, text, border, antialias, size, size_type, fontname)
pdb.gimp_floating_sel_anchor(textLayer)
# targetLayer still exists at this point