Re: [Gimp-developer] Discard text information.
- From: "Joao S. O. Bueno" <gwidion mpc com br>
- To: k1er0n-gnome yahoo co uk
- Cc: gimp-developer-list gnome org
- Subject: Re: [Gimp-developer] Discard text information.
- Date: Fri, 25 Nov 2011 09:06:45 -0200
On Thu, Nov 24, 2011 at 8:59 PM,
<k1er0n-gnome yahoo co uk> 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 gnome org
http://mail.gnome.org/mailman/listinfo/gimp-developer-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]