Code Monkey home page Code Monkey logo

gimp-crosshatch's Introduction

Crosshatch-Fu

A Gimp Crosshatch Script-Fu filter
Copyright © 2011 Bart Massey
[email protected]
2011-07-20

This filter started with a need for an etching of Lewis Carroll for a talk I gave at the Open Source Bridge Conference 2011. It turns out I couldn't easily find one, so I looked for a GIMP plugin to process a photo into a synthetic etching. After some digging around, the most promising thing I could find was a Perl plug-in posted by Sam Jones in 2001 to an email list.

I've taken Jones's plugin as an inspiration, and written a GUILE Scheme Script-Fu plugin with similar operation. My plugin produces marginal-quality synthetic etchings.

beforeafter

If you like, the code will leave the layers it constructed lying around when it is done; you can adjust each layer as desired and then merge them manually. The layers are a "penciled-in" layer, with NW and NE crosshatch layers above that.

Installation

Install this just like any other Gimp Script-Fu plugin. For Linux and Mac OS X, this means copying crosshatch.scm to ~/.gimp-2.6/scripts/ and restarting Gimp. For Windows, copy into C:\Program Files\GIMP-2.0\share\gimp\2.0\scripts or something--I'm not a Windows user, so I don't really know.

Future Work

Planned future enhancements include some more control over the etching. It would be nice to have preview mode, but it looks like that would require rewriting this code in something other than Scheme, and I'm not really up for another rewrite.

License and Availability

I have placed my code under GPLv2 to clarify GIMP license compatibility. Please see the file COPYING in this distribution for license details. I do not believe that my current code is a derivative work of Sam Jones's code per US copyright law. I have attempted to contact Sam Jones without success. Hopefully, he will appear at some point and give the project his blessing.

This project is currently hosted on GitHub. See its project page for source repository information.

gimp-crosshatch's People

Contributors

bartmassey avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

bato3

gimp-crosshatch's Issues

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.