def _get_resize_options(self, dimensions):
if dimensions and isinstance(dimensions, (tuple, list)):<EOL><INDENT>if len(dimensions) < <NUM_LIT:3>:<EOL><INDENT>dimensions = tuple(dimensions) + (False, )<EOL><DEDENT>return dimensions<EOL><DEDENT>
:param dimensions:
    A tuple of (width, height, force_size).
    'force_size' can be left off and will default to False.