libvips

A fast image processing library with low memory needs.

Latest version: 8.18.6

Add to xmake.lua

add_requires("libvips 8.18.6")

Learn how to add and link packages with Xmake →

Information

License
LGPL-2.1
Recipe updated
2026-08-26T03:42:36.000Z

Platforms

  • linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
  • mingw: i386, x86_64, arm, arm64
  • cross: i386, x86_64, arm, armv7, arm64, mips, mips64, mips64el, riscv, riscv64, loong64, s390x, ppc, ppc64, ppc64el, sh4, sparc64
  • windows: x86, x64, arm, arm64, arm64ec
  • macosx: x86_64, arm64

Options

analyze
Build with analyze · Type: boolean · Default: false
c++
Build C++ API · Type: boolean · Default: true
cfitsio
Build with cfitsio · Type: boolean · Default: false
cgif
Build with cgif · Type: boolean · Default: false
deprecated
Build deprecated components · Type: boolean · Default: false
dynamic_modules
Build dynamic modules · Type: boolean · Default: false
exif
Build with exif · Type: boolean · Default: false
fftw
Build with fftw · Type: boolean · Default: false
fontconfig
Build with fontconfig · Type: boolean · Default: false
highway
Build with highway · Type: boolean · Default: false
imagemagick
Build with imagemagick · Type: boolean · Default: false
introspection
Build GObject introspection data · Type: boolean · Default: false
lcms
Build with lcms · Type: boolean · Default: false
libarchive
Build with libarchive · Type: boolean · Default: false
libheif
Build with libheif · Type: boolean · Default: false
libimagequant
Build with libimagequant · Type: boolean · Default: false
libjpeg
Build with libjpeg · Type: boolean · Default: false
libjxl
Build with libjxl · Type: boolean · Default: false
libpng
Build with libpng · Type: boolean · Default: false
libspng
Build with libspng · Type: boolean · Default: false
libtiff
Build with libtiff · Type: boolean · Default: false
libwebp
Build with libwebp · Type: boolean · Default: false
matio
Build with matio · Type: boolean · Default: false
nifti
Build with nifti · Type: boolean · Default: false
nsgif
Build with nsgif · Type: boolean · Default: false
openexr
Build with openexr · Type: boolean · Default: false
openjpeg
Build with openjpeg · Type: boolean · Default: false
openslide
Build with openslide · Type: boolean · Default: false
orc
Build with orc · Type: boolean · Default: false
pangocairo
Build with pangocairo · Type: boolean · Default: false
pdfium
Build with pdfium · Type: boolean · Default: false
poppler
Build with poppler · Type: boolean · Default: false
ppm
Build with ppm · Type: boolean · Default: false
quantizr
Build with quantizr · Type: boolean · Default: false
radiance
Build with radiance · Type: boolean · Default: false
rsvg
Build with rsvg · Type: boolean · Default: false
vapi
Build VAPI · Type: boolean · Default: false
zlib
Build with zlib · Type: boolean · Default: false

Versions

  • v8.15.1
  • v8.15.2
  • v8.15.3
  • v8.15.4
  • v8.15.5
  • v8.16.0
  • v8.16.1
  • v8.17.1
  • v8.17.2
  • v8.17.3
  • v8.18.0
  • v8.18.1
  • v8.18.2
  • v8.18.3
  • v8.18.5
  • v8.18.6

Dependencies

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "libvips 8.18.6"

show info

xrepo info "libvips"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("libvips 8.18.6")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("libvips")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "libvips 8.18.6" shell