This package wraps the core functionality of libvips image processing library. This library is still under development and only exposes a subset of the vips API. It works on both Mac and Linux.
Use homebrew to install vips and pkg-config:
brew install vips pkg-configapt install libvips-dev -y import SwiftVips let testPng: Data = // load data let png = try VImage(from: testPng) try png.resize(scale: 0.5) let jpgData = try png.toJpeg(quality: 50)