🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-gimp

GIMP Script-Fu Server integration for node.js

0.0.3
latest
Version published
Maintainers
1
Created

node-gimp

Send Script-Fu commands from Node.js to GIMP. Can be used to set colors, create text or layers, run filters, you name it.

@todo insert cool video

Usage

// my-cool-program.js

import Gimp from 'node-gimp';


(async function main() {
	const gimp = new Gimp();
	const res = await gimp.sendCommand('(gimp-image-list)');
	console.log(res); // => "(1 #(1))"
})();

The Gimp() constructor can be passed options.

const options = {
	port: 38483,         // defaults to 10008
	responseTimeout: 100 // defaults to 1000
};
const gimp = new Gimp(options);

FAQs

Package last updated on 02 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts