Re: Discard text information.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Thu, Nov 24, 2011 at 8:59 PM, <k1er0n-gnome@xxxxxxxxxxx> wrote:
Hello

In the Layer menu, there is an item called "Discard text information". What options do I have for turning text layers into non-text ones in a script? gimp_image_merge_down() works, but it does other things I don't really need. Is there another option? Thanks.


Looks like we are missing a PDB way of doing it.

One thing to do is to "scale" the layer into itself - in Python you can call, for example:

  dr.transform_scale(dr.offsets[0],dr.offsets[1],dr.offsets[0] + dr.width, dr.offsets[1] + dr.height,0,1,0,1,1)

("dr"  being your layer, of course)

  js
 -><-
 
Kieron

_______________________________________________
gimp-developer-list mailing list
gimp-developer-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gimp-developer-list

_______________________________________________
gimp-developer-list mailing list
gimp-developer-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gimp-developer-list

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux