Next: A.1.2 Image display Up: A.1 Preferences Previous: A.1 Preferences Contents

## A.1.1 Calculation

This column has the options which control how `nip2` starts and how and when it calculates.

`Data path`

  This is a list of directories where `nip2` searches for data files. These are any files that `nip2` can use but which aren't loaded at startup. I usually append the main areas on my machine where I store image files, for example.

  The default value is `["$HOME/.$PACKAGE-$VERSION/data", "$VIPSHOME/share/nip/data", "."]`.

`Temporary files`

  This is where any intermediate files will be stored. It defaults to a directory called `tmp` under your home area's `.nip2-xx` directory. If `nip` crashes, it may leave old files here.

`Start path`

  This lists directories which are searched when `nip2` starts for any loadable files. Anything that `nip2` comes across will be loaded up.

  The default value is `["$HOME/.$PACKAGE-$VERSION/start", "$VIPSHOME/share/nip/start"]`.

`Auto-recalc`

  With this on (the default) `nip2` will recalculate whenever anything changes. Turn this off if recalculations are taking a long time and you want to make a series of small changes.

`Update sliders during drag`

  This sets whether recalculation happens as sliders are dragged, or whether the recalculation waits until the drag finishes. There's a similar setting for regions.

`Auto workspace save`

  With this tured on (the default) `nip2` will save the current workspace to the temporary files area a second after the last recalculation. If `nip2` crashes, you can restart it and click `File` / `Recover after crash` and `nip2` will reload the last workspace where you made a change.

`Auto-reload on file change`

  With this tured on `nip2` will automatically reload any image files that change while it has them open. Handy if you're using `nip2` to watch a file that another program is updating.

`Maximum text display`

  This sets the number of characters `nip2` shows for string values. Turn it up if you want to see inside long strings.

`Maximum heap`

  This sets the limit on the heap size. Turn it up if you start getting `Heap full` error messages. If you left-click on the space free label in the bottom right of the main window, it will change to display the current heap statistics. There's a useful tooltip as well.

`Number of CPUs to use`

  If you have a machine with more than one CPU, you can make `nip2` faster by upping this number.

Next: A.1.2 Image display Up: A.1 Preferences Previous: A.1 Preferences Contents