def regionFromResize(curr_width, curr_height, bounds_width, bounds_height):
	"""Region from Resize

	Returns a new set of region points based on a current width and height and
	the bounding box

	Args:
		curr_width (uint): The current width
		curr_height (uint): The current height
		bounds_width (uint): The boundary width
		bounds_height (uint): The boundary height

	Returns:
		list [x, y, width, height]
	"""

	# Return
	lRet	= [0, 0, 0, 0]

	# If the current width is larger than the bounds width
	if curr_width > bounds_width:

		lRet[0]	= int(round((curr_width - bounds_width) / 2.0))
		lRet[1]	= 0
		lRet[2]	= int(bounds_width + round((curr_width - bounds_width) / 2.0))
		lRet[3]	= bounds_height

	# Else if the current height is larger than the bounds height
	else:

		lRet[0]	= 0
		lRet[1]	= int(round((curr_height - bounds_height) / 2.0))
		lRet[2]	= bounds_width
		lRet[3]	= int(bounds_height + round((curr_height - bounds_height) / 2.0))

	# Return the region
	return lRet