Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 3 months ago
JSON representation

For all your common image and video importation and editing needs

Awesome Lists containing this project

README

        

# MediaUtilities
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fiankoex%2Fmedia-utilities%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/iankoex/media-utilities)
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fiankoex%2Fmedia-utilities%2Fbadge%3Ftype%3Dplatforms)](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