RSS/Atom feed Twitter
Site is read-only, email is disabled

Rasterize a text layer with GIMP Python or Script-Fu

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

3 of 3 messages available
Toggle history

Please log in to manage your subscriptions.

Rasterize a text layer with GIMP Python or Script-Fu Lucian Naie 11 Jul 20:34
  Rasterize a text layer with GIMP Python or Script-Fu Ofnuts 11 Jul 20:54
   Rasterize a text layer with GIMP Python or Script-Fu Lucian Naie 12 Jul 07:21
Lucian Naie
2016-07-11 20:34:54 UTC (almost 8 years ago)

Rasterize a text layer with GIMP Python or Script-Fu

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

Ofnuts
2016-07-11 20:54:21 UTC (almost 8 years ago)

Rasterize a text layer with GIMP Python or Script-Fu

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.

Lucian Naie
2016-07-12 07:21:58 UTC (almost 8 years ago)

Rasterize a text layer with GIMP Python or Script-Fu

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