Code Monkey home page Code Monkey logo

gaffer-tools's Introduction

Gaffer Tools

A collection of tools for Gaffer primarily focusing on image, color, and plotting.

Installation

First, clone this repo to some location on disk, let's call it /path/to/gaffer-tools. Second, we'll need to set up a couple of environment variables so that the nodes are loaded into the node menu. I'll use Bash in this example but you can adapt it to your needs. We use the GAFFER_STARTUP_PATHS to execute loadNodes.py on startup. This script adds all .grf Gaffer Reference Files and .gfr Gaffer Script Files into the node menu, re-creating the directory structure of the folders on disk in the node menu.

# Add startup directory to GAFFER_STARTUP_PATHS so `loadNodes.py` is executed on startup.
export GAFFER_STARTUP_PATHS=/path/to/gaffer-tools/startup:${GAFFER_STARTUP_PATHS}

# Add GAFFER_TOOLS_ROOT so gfr and grf files under tools are auto-loaded in the node menu.
export GAFFER_TOOLS_ROOT=/path/to/gaffer-tools/tools

If environment variables are inconvenient, you can also copy the loadNodes.py file into your ~/gaffer/startup/gui folder, and hard-code the filepath in that python file by setting the GAFFER_TOOLS_ROOT variable to /path/to/gaffer-tools.

Tools

Nodes are provided as .grf Gaffer Reference files.

Gaffer Color Tools

ColorMatrix

Applies a 3x3 matrix to the RGB channels of an incoming image. Supports inverse direction.

GamutConvert

Converts an image from inGamut to outGamut.

gaffer-tools's People

Contributors

jedypod avatar

Stargazers

 avatar  avatar

Watchers

 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.