Every now and again you might want to scan photographs or postcards using your scanner. You could scan them one by one and crop them out in Photoshop but Photoshop will actually do it for you. Let have a look at the results of a typical scan.
The images are off centre and cropping is going to be tricky. Instead I can use one of Photoshop’s Automate Functions. Go up to File > Automate > Crop and Straighten Photos. Automatically it will crop the images and straighten them for you.
This technique is also useful for sketches. Often I like to use pen and paper to come up with ideas. Sometimes I want to get that sketch into Photoshop or Illustrator.
Using the Automate function I can ask Photoshop to split things out for me. Then I can use the sketch as a guide in either Photoshop or Illustrator.
It is not always 100% perfect but I usually find it is worth a try before using a more time consuming technique.
Have an update or suggestion for this article? You can edit it here and send me a pull request.
Linux and Unix watch command tutorial with examples
Tutorial on using watch, a UNIX and Linux command for executing a program periodically and showing a fullscreen output. Examples of watching a file download, a network interface come up, and showing the five most CPU intensive processes.
Build your own Vim statusline
Statuslines in Vim are not hard to create. Making your own means one less dependency in your life.
Custom Vim Bindings in tmux 2.4
tmux 2.4 made a significant change to key bindings. Here is how to support custom keybindings for versions before and after tmux 2.4