if opts[:size]
      width, height = opts[:size].split('x')
    else
      width, height = opts[:width], opts[:height]