A spreadsheet-like GUI for libvips.
C C++ Yacc Makefile M4 Lex Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc fix make dist Sep 15, 2016
man merge 7.16 back into trunk Oct 11, 2008
po Only build nip2-icon.o on Windows Sep 25, 2016
proj stuff Aug 29, 2007
share final update for release Sep 23, 2016
src Only build nip2-icon.o on Windows Sep 25, 2016
test final update for release Sep 23, 2016
.gitignore Only build nip2-icon.o on Windows Sep 25, 2016
AUTHORS updated AUTHORS Mar 28, 2008
COPYING Update address for Free Software Foundation Mar 7, 2013
ChangeLog bump version Sep 25, 2016
Makefile.am fix make dist Sep 15, 2016
NEWS stuff Aug 29, 2007
README.md argh snapcraft Aug 5, 2016
THANKS stuff Aug 29, 2007
TODO more dbg stuff Jun 23, 2016
autogen.sh make autogen run configure Sep 15, 2016
configure.ac bump version Sep 25, 2016
nip2.appdata.xml oops May 27, 2014
nip2.desktop.in improve .desktop file Sep 17, 2014
nip2.spec.in merged loadable-formsts branch Aug 15, 2008
nip2.xml

README.md

nip2 - a user interface for the VIPS image processing library

nip2 is a GUI for the VIPS image processing library. It's a little like a spreadsheet: you create a set of formula connecting your objects together, and on a change nip2 recalculates.

Building nip2 from source

In the nip2 directory you should just be able to do:

$ ./configure
$ make
$ sudo make install

By default this will install files to /usr/local.

See the Dependencies section below for a list of the things that nip2 needs in order to be able to build.

We have detailed guides on the wiki for building on Windows and building on OS X.

If you downloaded from GIT you'll need:

$ ./autogen.sh

first to build the configure system.

Dependencies

nip2 needs vips, gtk2 and libxml2 at runtime and flex/bison at compile time.

If you have fftw3, gsl, goffice, libgvc you get extra optional, but useful, features.

Tips

production build with

./configure --prefix=/home/john/vips 

debug build with

CFLAGS="-g -Wall" ./configure --prefix=/home/john/vips 

(--enable-debug turns on and off automatically with development / production minor version numbers)

leak check

export G_DEBUG=gc-friendly 
export G_SLICE=always-malloc 
valgrind --suppressions=/home/john/nip2.supp \
  --leak-check=yes \
  nip2 ... > nip2-vg.log 2>&1

memory access check

valgrind --suppressions=/home/john/nip2.supp \
  --leak-check=no --db-attach=yes \
  nip2 ... > nip2-vg.log 2>&1

or put "--suppressions=/home/john/nip2.supp" into ~/.valgrindrc

profiling

valgrind --tool=callgrind \
  --suppressions=/home/john/nip2.supp \
  nip2 ... > nip2-vg.log 2>&1

Disclaimer: No guarantees of performance accompany this software, nor is any responsibility assumed on the part of the authors. Please read the licence agreement.