wnx / multi-photo-crop
Process images and cut out single photos
Fund package maintenance!
stefanzweifel
buymeacoff.ee/3oQ64YW
Requires
- php: ^7.3
- nesbot/carbon: ~2.0
- symfony/console: ~5.0
- symfony/process: ~5.0
Requires (Dev)
- phpunit/phpunit: ^9.0
README
Detect and crop multiple photos from a single image. Perfect for digitalizing your old paper photo albums.
Prerequisites
In order to use the script ImageMagick has to be installed on your system. (If you're on a Mac I suggest using Homebrew brew install imagemagick
).
Installing
The easiest way to install the the script is by using composer.
composer global require wnx/multi-photo-crop
If the installation was successful you should be able to execute the following command:
multi-photo-crop --version
If this didn't work, composer binary files are not automatically loaded in your shell. You can also call the binary directly by using:
~/.composer/vendor/bin/multi-photo-crop --version
Usage
After installing the package you can run the script like this:
multi-photo-crop run "/path/to/your/images/**/*.png" "~/Downloads/"
Running the tests
There are some phpunit tests. You can run them with the following command.
phpunit
Built With
- MultiCrop (not included in Repository)
- Symfony Console
- Symfony Process
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Stefan Zweifel - Initial work - stefanzweifel
License
This project is licensed under the MIT License - see the LICENSE.md file for details
The Multicrop Script has a special License. Read more here.