slicing area works with different resolution images