Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/iankoex/media-utilities
- Owner: iankoex
- License: mit
- Created: 2022-12-04T21:10:38.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-28T06:55:32.000Z (over 1 year ago)
- Last Synced: 2024-10-16T07:01:48.048Z (4 months ago)
- Topics: drag-and-drop, image, imageeditor, ios, macos, media, swift, swiftui, video, videoeditor
- Language: Swift
- Homepage:
- Size: 162 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
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