Added working version of my old tool for slicing images.