Re: [Gimp-developer] Rasterize a text layer with GIMP Python or Script-Fu

2016-07-12 Thread Lucian Naie
It will be useful to use libgimp/gimp to generate images programmatically
from templates: change text, apply effects, rasterize/save it.

Thanks



On Mon, Jul 11, 2016 at 10:54 PM, Ofnuts  wrote:

> On 11/07/16 22:34, Lucian Naie wrote:
>
>> Hi everyone,
>>
>> I have looked at the docs, even checked the source code, to find the magic
>> libgimp call (http://developer.gimp.org/api/2.0/libgimp/) that will allow
>> me to do programmatically what the UI text layer option "Discard Text
>> Information" is doing, but without much success.
>>
>> How do I achieve that (
>> https://docs.gimp.org/en/gimp-layer-text-discard.html)
>> from libgimp or gimp python (maybe script-fu)?
>>
> Merge it to a transparent layer... But why do you want to do that? If you
> do something pixellish to the layer it will be done automatically,
> otherwise keeping the text information can be useful.
> ___
> gimp-developer-list mailing list
> List address:gimp-developer-list@gnome.org
> List membership:
> https://mail.gnome.org/mailman/listinfo/gimp-developer-list
> List archives:   https://mail.gnome.org/archives/gimp-developer-list
>
___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list


Re: [Gimp-developer] Rasterize a text layer with GIMP Python or Script-Fu

2016-07-11 Thread Ofnuts

On 11/07/16 22:34, Lucian Naie wrote:

Hi everyone,

I have looked at the docs, even checked the source code, to find the magic
libgimp call (http://developer.gimp.org/api/2.0/libgimp/) that will allow
me to do programmatically what the UI text layer option "Discard Text
Information" is doing, but without much success.

How do I achieve that (https://docs.gimp.org/en/gimp-layer-text-discard.html)
from libgimp or gimp python (maybe script-fu)?
Merge it to a transparent layer... But why do you want to do that? If 
you do something pixellish to the layer it will be done automatically, 
otherwise keeping the text information can be useful.

___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list


[Gimp-developer] Rasterize a text layer with GIMP Python or Script-Fu

2016-07-11 Thread Lucian Naie
Hi everyone,

I have looked at the docs, even checked the source code, to find the magic
libgimp call (http://developer.gimp.org/api/2.0/libgimp/) that will allow
me to do programmatically what the UI text layer option "Discard Text
Information" is doing, but without much success.

How do I achieve that (https://docs.gimp.org/en/gimp-layer-text-discard.html)
from libgimp or gimp python (maybe script-fu)?

Thanks in advance,
Lucian
___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list