Changing filename output
Answer for tex.SE about image clipping

The accepted answer for http://tex.stackexchange.com/q/193555/828 is
more elegant, but I've been using my solution
(http://tex.stackexchange.com/q/193555/828) in my scalebar script.
It's also nice to use for cropping the outer parts of tomographic
reconstructions.