libvips_ffi_system

System package manager library loader for libvips_ffi.

Supported Package Managers

  • macOS: Homebrew, MacPorts
  • Linux: apt, dnf, pacman
  • Windows: vcpkg, Chocolatey

Usage

import 'package:libvips_ffi_system/libvips_ffi_system.dart';

void main() async {
  // Check installation status
  final managers = await checkVipsInstallation();
  for (final m in managers) {
    print('${m.name}: installed=${m.isInstalled}');
  }
  
  // Initialize from system package manager
  await initVipsSystemAsync();
  
  // Use libvips with VipsPipeline
  final pipeline = VipsPipeline.fromFile('input.jpg');
  pipeline.resize(0.5);
  pipeline.toFile('output.jpg');
  pipeline.dispose();
  
  shutdownVips();
}

Libraries

libvips_ffi_system
System package manager library loader for libvips_ffi.