Extracts the size from the supplied size specification.
the size in pixels defined in the supplied size specification
the size specification to extract the size from