Image resize test.