Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

245.5. libvips-8.18.6

Streaming image-processing library with low memory use

8.18.6-1 · LGPL-2.1-or-later · 1.0 SBU · 4.3 MiB, 72 files · 43_toolkits, 174 of 344 · ports/core/image-libs/libvips

Homepage: https://www.libvips.org/

Why it is in KDOS. The comment above it in script/phases/43_toolkits/packages.d/image-libs.txt:

Image processing that STREAMS rather than loads, so a 20000x20000 scan is a few megabytes of memory instead of a few gigabytes.

Depends on: meson, glib, expat, libjpeg-turbo, libpng, libtiff, libwebp, lcms2, libexif, librsvg, cairo, pango, fontconfig, zlib, fftw, libarchive, imagemagick, libraw, cfitsio, libheif, openexr, openjpeg, highway, libjxl, libimagequant, pdfium, matio.

Required by (1): appstream.

Sources: libvips-8.18.6.tar.xz (24.3 MiB). Every step kpkg takes applies to this port.

Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.

Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install libvips'

build.sh:

meson setup build --prefix=/usr --libdir=lib --buildtype=release \
	-Dintrospection=disabled -Ddocs=false -Dcpp-docs=false -Dexamples=false \
	-Dmodules=disabled -Dcplusplus=true \
	-Djpeg=enabled -Dpng=enabled -Dtiff=enabled -Dwebp=enabled \
	-Dlcms=enabled -Dexif=enabled -Drsvg=enabled -Dpangocairo=enabled \
	-Dfontconfig=enabled -Dzlib=enabled -Dfftw=enabled -Darchive=enabled \
	-Dmagick=enabled -Draw=enabled -Dcfitsio=enabled -Dheif=enabled \
	-Dopenexr=enabled -Dopenjpeg=enabled -Djpeg-xl=enabled \
	-Dimagequant=enabled -Dhighway=enabled \
	-Dorc=disabled -Dpdfium=enabled -Dpoppler=disabled \
	-Dcgif=disabled -Duhdr=disabled -Dmatio=enabled -Dnifti=disabled \
	-Dopenslide=disabled -Dspng=disabled -Dquantizr=disabled
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build

Programs: vips, vipsedit, vipsheader, vipsthumbnail.

Libraries: libvips-cpp.so, libvips.so.

Directories: /usr/include/vips, /usr/share/licenses/libvips.