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.
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
Using template files in Vim
Vim templates or skeletons, allow you to specify a template to be used for new files with a certain extension.