https://github.com/iankoex/media-utilities
For all your common image and video importation and editing needs
https://github.com/iankoex/media-utilities
drag-and-drop image imageeditor ios macos media swift swiftui video videoeditor
Last synced: 2 months ago
JSON representation
For all your common image and video importation and editing needs
- Host: GitHub
- URL: https://github.com/iankoex/media-utilities
- Owner: iankoex
- License: mit
- Created: 2022-12-04T21:10:38.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-07T21:16:00.000Z (5 months ago)
- Last Synced: 2025-03-23T17:12:52.199Z (3 months ago)
- Topics: drag-and-drop, image, imageeditor, ios, macos, media, swift, swiftui, video, videoeditor
- Language: Swift
- Homepage:
- Size: 141 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MediaUtilities
[](https://swiftpackageindex.com/iankoex/media-utilities)
[](https://swiftpackageindex.com/iankoex/media-utilities)This package allows you to:
- Import Images and Videos
- Edit Images and Videos# Installation
Swift Package Manager# Usage
You can use the individial files depending on your needs.
For a holistic unified approach use:
```
/// For Images
.imagePicker($isShowingImagePicker, aspectRatio: 16 / 9, isGuarded: false) { result in}
// For Videos
.videoPicker($isShowingVideoPicker) { result in}
```
What this allows you to do is enable drag and drop to the view,edit the asset then retun the edited asset.
The `isPresented` directly controls the PhotosPicker in iOS and finder window in macOS.## To Do
- [ ] Adding Stickers on Image/Video
- [ ] Custom Audio to Video
- [ ] Drawing on Image/Video
- [x] Drag and Drop Delegates# SDKs
Some features may require higher versions. But generally it supports the following:
- iOS 13+
- macOS 10.15+# Code Contributions
Feel free to contribute via fork/pull request to master branch. If you want to request a feature or report a bug please start a new issue.# License
Run Wild