this allows us to generate a diff client side which does not fail when screenshots have different sizes