watermark_kit 0.0.1
watermark_kit: ^0.0.1 copied to clipboard
iOS image watermarking plugin for Flutter. Composes a watermark image over a base image in memory and returns encoded PNG/JPEG bytes (Core Image + Metal, no FFmpeg).
0.0.1 #
Initial release.
Added
- iOS image watermarking plugin using Core Image (Metal-backed CIContext under the hood).
- Public API:
WatermarkKit.composeImage(...)that composes a watermark image over a base image and returns encoded bytes.- Options:
anchor,margin(withmarginUnit: 'px'|'percent'),widthPercent,opacity,offsetX/offsetY(withoffsetUnit),format: 'png'|'jpeg',quality(JPEG). - Anchors:
topLeft,topRight,bottomLeft,bottomRight,center.
- Options:
- Pigeon-based typed bridge (Dart/Swift) for
composeImage. - Example app to pick base/watermark from gallery, tweak options, and preview the result.
Changed/Chore
- Simplified README to state iOS support without version numbers.
- Committed example iOS CocoaPods setup (Podfile/lock, xcconfig includes) for reproducible builds.
- Removed unused template tests and misc files; tightened .gitignore.