def extra_padding_y(original_size, padding):
 return _resize(original_size, 1, padding=padding)

def extra_padding_y ( original_size , padding ) : return _resize ( original_size , 1 , padding = padding )
reduce the height of original_size by padding .