How to run php script (for cutting images) on Mac OS X?
1. Drag the imageslicer.php file and the image you want to slice to your desktop.
2. Create a folder called test on the desktop.
3. Open terminal, type “cd desktop”.
4. Type “php imageslicer.php image.jpg drag test folder onto terminal to get it’s location 1000 100
5. Press enter and let it work
For example: php imageslicer.php test.jpg /Users/andrew/Desktop/test 1000 100