Add flexible configuration for images cutting.