Giter Site home page Giter Site logo

gimp-text-outline's Introduction

Gimp Text Outline

This is a GIMP script written in Python for putting an outline around text.

This plugin is based on a similar plugin by Pete Nu, available at: http://pete.nu/software/gimp-outliner/

The primary differences between the two are:

  1. His plugin is a little more general-purpose, and will draw outlines around any layer, not just text layers.
  2. This plugin will stroke the outline using your active brush and brush settings, rather than filling a selection.
  3. This plugin will auto-crop the layer to be as small as possible, rather than leaving it as the full image size.

To use this script, make sure that the selected layer is a text layer you want to outline, then choose "Text Outline" from the "Decor" submenu of the "Filters" menu.

The script will create a new, transparent layer underneath your selected layer, and draw the outline into that new layer.

Installation

  • Save text-outline.py to your Gimp plugin directory.
    • On Linux, this will be ~/.gimp-2.8/plug-ins/
    • On Windows, apparently it might be something like C:\Users\[username]\.gimp-2.8\plug-ins
  • Restart GIMP

Usage

  • Make sure that the selected layer is the one containing the text you want to outline.
  • Choose "Text Outliner" from the "Decor" submenu of the "Filters" menu

That's it!

gimp-text-outline's People

Contributors

apocalyptech avatar kagami avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gimp-text-outline's Issues

Impossible to create thin outline?

Hi. Thank you for such great plugin.

It seems to be unstable on gimp 2.9 though. I'm trying to create thin outline for text with font size=30 and brush size=1 and instead it gives me this:

g-o

Probably I'm missing something, I was able to create thin outline several times but I'm not sure whether sequence of actions was different.

I also get the following error in console:

(gimp:9313): Gimp-Core-CRITICAL **: gimp_stroke_options_prepare: assertion 'paint_info == paint_options->paint_info' failed

(gimp:9313): Gimp-Paint-CRITICAL **: gimp_paint_core_stroke_vectors: assertion 'GIMP_IS_PAINT_OPTIONS (paint_options)' failed
Traceback (most recent call last):
  File "/usr/lib64/gimp/2.0/python/gimpfu.py", line 851, in _run
    res = apply(func, params[1:])
  File "/home/kagami/.config/GIMP/2.9/plug-ins/text-outline.py", line 94, in add_text_outline
    stroke_path_and_remove(image, new_layer, path)
  File "/home/kagami/.config/GIMP/2.9/plug-ins/text-outline.py", line 67, in stroke_path_and_remove
    pdb.gimp_edit_stroke_vectors(layer, path)
RuntimeError: execution error

Especially if I execute Text Outline filter with Brush/Pencil tool active. But sometimes it works that way too.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.