libvips_ffi_api 0.1.3+8.16.0 copy "libvips_ffi_api: ^0.1.3+8.16.0" to clipboard
libvips_ffi_api: ^0.1.3+8.16.0 copied to clipboard

High-level Dart API for libvips image processing library. Provides Pipeline-style chainable operations.

libvips_ffi_api #

High-level Dart API for libvips image processing library.

πŸ“– Documentation | πŸ“– δΈ­ζ–‡ζ–‡ζ‘£

Features #

  • Pipeline-style API: Chainable operations inspired by sharp (Node.js)
  • High performance: Internal VipsImage handling, encoding only on output
  • Complete coverage: Designed to cover all 300+ libvips operations
  • Flutter compatible: Works with Flutter's compute/isolate

Usage #

import 'package:libvips_ffi_api/libvips_ffi_api.dart';

// Chain operations
final result = VipsPipeline.fromFile('input.jpg')
    .resize(0.5)
    .blur(1.0)
    .sharpen()
    .toBuffer(format: '.jpg');

// Or write directly to file
VipsPipeline.fromFile('input.jpg')
    .thumbnail(200)
    .toFile('thumb.jpg');

Note #

This package does not handle library loading. Use with:

  • libvips_ffi (Flutter mobile)
  • libvips_ffi_macos/windows/linux (Desktop)
  • libvips_ffi_loader (Dynamic download)
  • libvips_ffi_system (System package manager)
0
likes
130
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

High-level Dart API for libvips image processing library. Provides Pipeline-style chainable operations.

Repository (GitHub)
View/report issues
Contributing

Topics

#image #image-processing #ffi #libvips

Documentation

Documentation
API reference

License

unknown (license)

Dependencies

ffi, libvips_ffi_core

More

Packages that depend on libvips_ffi_api