advanced_image_processing_toolkit 0.2.0
advanced_image_processing_toolkit: ^0.2.0 copied to clipboard
Flutter image processing toolkit with filters, geometric transforms, watermarking, ML-powered detection (objects, faces, text, pose), and AR hooks.
Changelog #
All notable changes to the Advanced Image Processing Toolkit are documented in this file.
0.2.0 - 2026-05-19 #
Breaking #
- Android package renamed from
com.example.advanced_image_processing_toolkittodev.godfreylebo.advanced_image_processing_toolkit. Consumers do not need to change their Dart imports; the change is only visible to Android toolchains. ObjectRecognition.detectObjectsnow takes a file path (String) instead ofUint8List. For raw bytes, use the newdetectObjectsFromBytes(bytes, InputImageMetadata)which requires explicit image metadata (ML Kit cannot infer width/height/stride from a buffer). The previous bytes-based call would throw at runtime with zero-valued metadata; this version fixes that.ObjectRecognition.drawDetectionshas been removed. It was a stub that returned the original bytes unchanged. Draw bounding boxes in your own UI layer (e.g.CustomPainter).AR plugins are no longer bundled.arkit_pluginandarcore_flutter_pluginwere always documented as "optional" but in fact pulled into every consumer app. They have been removed from this package's dependencies. To use AR, add them to your own app'spubspec.yaml.
Changed #
- Replaced the umbrella
google_ml_kitdependency with the individualgoogle_mlkit_*packages — significant install-size reduction for consumer apps. Bumped to the latest 0.11–0.15 series. - iOS minimum version raised to 12.0 (required by Google ML Kit).
- Android:
compileSdk→ 34, AGP → 7.4.2, Kotlin → 1.9.0, declarednamespacefor AGP 7+. dart:ioaccess guarded behind conditional imports so the package compiles cleanly on the web.
Fixed #
- Version numbers were inconsistent across
pubspec.yaml, the in-libraryversionconstant, the iOS podspec, andAPI_REFERENCE.md. All now read0.2.0. ObjectRecognition.detectObjectsno longer passesSize(0, 0)andbytesPerRow: 0toInputImageMetadata— these would have thrown on any real device.- README documented
detectFaces,recognizeText,detectPoses,detectSurfaces, and named-parameter filter signatures that did not exist in the source. The README now matches the actual API surface. API_REFERENCE.mdwas stuck on v0.1.2 / v0.0.6 examples and showed non-staticfinal imageFilters = ImageFilters()usage. Fully rewritten against the v0.2.0 API.- Native
getPlatformVersionis now implemented on both Android and iOS; previously the method handler only had TODO stubs forapplyGrayscale/applyBlurandgetPlatformVersionsilently returnednotImplemented. - Removed the parallel duplicate platform-interface and method-channel
files in
lib/src/that shadowed the canonical ones inlib/.
0.1.6 - 2025-12-17 #
Added #
- Geometric transforms:
applyResize,applyRotate,applyCrop,applyFlip. - Watermarking:
applyWatermarkto overlay images. - Colour adjustments:
adjustContrast,adjustSaturation. - Documentation: feature graphic and updated README with new examples.
0.1.5 - 2025-09-10 #
Changed #
- Documentation rewrite with improved structure and tone.
- Updated author information with portfolio link (godfreylebo.dev).
- Better real-world use-case examples in README.
- Updated package description in
pubspec.yaml.
Fixed #
- Documentation consistency across all files.
- Author metadata alignment.
0.1.3 - 2025-04-20 #
Changed #
- Documentation updates and improved examples.
- Improved code organisation and structure.