Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gimp

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gimp

GIMP javascript library

  • 1.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
16
increased by300%
Maintainers
1
Weekly downloads
 
Created
Source

Gimp

What is it ?

Gimp is a node package to communicate easily with gimp.

Note that due to package transfer, gimp will start from version 1.x for development version and 2.x for stable version.

Gimp is a good graphic software, but it's just an horror to communicate with it. Few doc, incoherents binaries and behavior differences, anarchic output... However, this library begins to do the job. But seriously, it's not worth it. If the project interests you, welcome to participate !

How to use

	var gimp = new Gimp(),
		session = gimp.session();

	session.exec('(define image (car (gimp-file-load RUN-NONINTERACTIVE "img.jpg" "img.jpg")))').then(function () {
		// ...
	});

	Promise.all([
		session.exec('(define image (car (gimp-file-load RUN-NONINTERACTIVE "d:\\\\P1100664.JPG" "d:\\\\P1100664.JPG")))'),
		session.exec('(define merged (car (gimp-image-merge-visible-layers image 1)))'),
		session.exec('(gimp-file-save RUN-NONINTERACTIVE image merged "d:\\\\P1100664_new.JPG" "d:\\\\P1100664_new.JPG")'),
	]).then(ok, nok);

Keywords

FAQs

Package last updated on 26 Sep 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc