Giter Club home page Giter Club logo

gimpscripts's Introduction

sudo make me a white background

Erigeron

  • Script installation: The scripts can be installed by copying the .scm files into /.gimp-2.8/scripts/ in your home directory.
  • Resynthesizer installation: On Linux, Resynthesizer is available in the package gimp-plugin-registry on Debian based system.

Even Background

This script generates a background layer from a selection, making it mostly white, as in the sample images below. Note that it only works for linear vertical gradients; the next plugin which uses Resynthesizer is much better, but also much slower.

Please see this question on Stackexchange to understand the problem.

Original Result with Division

Usage: Create a selection rectangle of full image height and any width, but without any parts of the drawing inside, then run the script.

Select rectangle with background only Run the plugin

Even Background with Resynthesize

This is an improved version of the previous script, and it uses the [Resynthesizer plugin] (https://github.com/bootchk/resynthesizer) to tackle backgrounds which are unevenly lit. The result is usually an image with plain white background. This script is based on this Stack answer.

This script requires the Resynthesizer plugin. It can not only tackle linear backgrounds, but generally uneven ones, and was created based on .

Original Result with Resynth

Usage: Create a selection that covers the drawing without background, then run the plugin. A fast way to mask the object is:

  1. Enable Quick Mask (Shift+Q)
  2. Use the pencil tool (N) to change the mask with white/black colour
  3. Disable the Quick Mask (Shift+Q) to get a selection, then run the plugin

Quick Mask Run Even Background

gimpscripts's People

Contributors

granjow avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

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.