@@ -15,19 +15,77 @@ can watch pixels change as you adjust your equations.
1515Because nip4 uses libvips as the image processing engine, it can handle very
1616large images and only needs a little memory. It scales to fairly complex
1717workflows: I've used it to develop systems with more than 10,000 cells,
18- analyzing images of many tens of gigabytes. It has a batch mode, so you
19- can run any image processing system you develop from the command-line and
20- without a GUI.
18+ analyzing images of many tens of gigabytes.
19+
20+ It has a batch mode, so you can run any image processing system you develop
21+ from the command-line and without a GUI.
2122
2223[ ![ Screenshot] ( images/shot1.png )] ( images/shot1.png )
2324
2425[ ![ Screenshot] ( images/shot2.png )] ( images/shot2.png )
2526
2627https://github.com/user-attachments/assets/6f7bdee1-183c-4554-9701-e0c30e75d58a
2728
28- ## flatpak
29+ # Installing
30+
31+ ## Windows
32+
33+ There's a zip for each version on the [ releases
34+ page] ( https://github.com/jcupitt/nip4/releases ) . Download
35+ ` vips-dev-w64-all-8.16.0-nip4.zip ` , unzip somewhere, and run ` bin/nip4.exe ` .
36+
37+ ## macOS
38+
39+ We hope to have a homebrew formula soon.
40+
41+ ## Linux-like systems with flatpak
42+
43+ There's a PR to add nip4 to flathub here:
44+
45+ https://github.com/flathub/flathub/pull/6166
46+
47+ Once we get a stable release, nip4 will be added to flathub. You can install
48+ one of the test releases from that PR with eg.:
49+
50+ ```
51+ flatpak install --user \
52+ https://dl.flathub.org/build-repo/165060/org.libvips.nip4.flatpakref
53+ ```
54+
55+ ## From source
56+
57+ Download the sources, then build and install with eg.:
58+
59+ ```
60+ cd nip4-x.y.x
61+ meson setup build --prefix /my/install/prefix
62+ cd build
63+ meson compile
64+ meson test
65+ meson install
66+ ```
67+
68+ Check the output of ` meson setup ` carefully.
69+
70+ ## From source for Windows
71+
72+ Clone:
73+
74+ https://github.com/libvips/build-win64-mxe
75+
76+ Then see this PR:
77+
78+ https://github.com/libvips/build-win64-mxe/pull/72
79+
80+ Checkout that branch and build with eg.:
81+
82+ ```
83+ ./build.sh --with-nip4 all
84+ ```
85+
86+ ## Build from source for flathub
2987
30- Add the ` flathub ` repo:
88+ Add the ` flathub ` repo, if you don't already have it :
3189
3290``` shell
3391flatpak remote-add --if-not-exists \
0 commit comments