First version of image manipulator. Allows cutting out margins.