Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/helje5/multicrap
Quick hack to square-crop a folder of images
https://github.com/helje5/multicrap
Last synced: 28 days ago
JSON representation
Quick hack to square-crop a folder of images
- Host: GitHub
- URL: https://github.com/helje5/multicrap
- Owner: helje5
- Created: 2015-02-15T14:38:09.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-25T14:00:23.000Z (almost 9 years ago)
- Last Synced: 2024-10-27T22:46:03.086Z (3 months ago)
- Language: Swift
- Size: 145 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
MultiCrap
=========A quick hack to square-crop a folder of images (think self.ies ;-) using
ImageKit.
Just a hack, for realz. Especially the auto-layout seems to be weird. Surprise.Swift demo features:
- [x] Max line length: 80 characters
- [ ] Great error handling
- [x] PS style great error handling
- [ ] No NS'ism (hey, this is an AppKit app!)
- [x] using the ImageKit IKPictureTaker
- [x] using the IKImageView (though this is not really used here)
- [x] using selectors in Swift
- [x] monitoring a folder using GCD
- [x] subclass NSTableView to add drag-n-drop
- [x] create and save a JPEG
- [x] NSFileManager and NSError**TODO:
- [ ] make everything nice
- [ ] make crop target path configurable (hardcoded to /tmp)
- [ ] fix auto-layout, something is weird (might be 6.3b though)![](http://imgur.com/MRvxDu9.jpg)
###Contact
[@helje5](http://twitter.com/helje5) | [email protected]
![](http://www.alwaysrightinstitute.com/images/ARI-symbol-logo.png)