A film about the golf pioneer Tom Morris is to open this year's Edinburgh International Film Festival.

Tommy’s Honour, directed by Jason Connery, will open the 70th edition of the festival on 15 June.

Shot entirely on location in Scotland, Tommy’s Honour is based on Tom Morris and his turbulent relationship with his son Tommy.

It stars Peter Mullan, Jack Lowden as well as Sam Neill, Ophelia Lovibond and Peter Ferdinando.

The festival said: "Tommy’s Honour tells the story of Tom Morris’ relationship with his son Tommy, who showed a remarkable talent of his own and matched his father's sporting achievements.

"However, despite their shared passion, father and son clash over the unwritten rules of social class, culminating in Tommy’s marriage to a woman of lower standing who hides a shameful secret in her past."The Herald: Jason Connery is directing a film that will have scenes shot in Peebles

Connery said: "It's so exciting.

" I remember standing in the middle of a field in Fife during the shoot and saying to Peter and Jack, Tommy's Honour might get into the Edinburgh International Film Festival, not in our wildest dreams did we think it would be the Opening Gala opening. "That's fantastic."

Producer Bob Last added: "It's an honour to be back at EIFF for an Opening Gala, it means a lot to have Mark Adams and his team's support for Jason Connery and our fantastic cast's telling of an iconic Scottish story.

"We look forward to introducing our film to Scotland and to the Gala being the first step in taking Tommy's Honour to an international audience."

Keith Banks, also a producer, said: "Our film is a multi-faceted story that resonates across universal themes including father/son relationships, class struggle, deep romantic love, family love and love of a game and a culture.

"We are thrilled to be able to first showcase Tommy’s Honour to a live audience at such a respected international gathering via our world premiere at EIFF."

Tickets will go on sale on April 27.

Mark Adams, artistic director of the festival said: "We are proud to be staging the world premiere of Tommy’s Honour.

"It is a beautifully made film packed with memorable moments and terrific performances and reflects perfectly our intention to keep on bringing great Scottish projects to our audience."

The festival is to close with the new version of Whisky Galore!

Tommy's Honour received £400,000 National Lottery Funding through Creative Scotland’s Screen Production Fund.

Natalie Usher, director of Screen at Creative Scotland, said: “It is terrific news that two major Scottish films will have their world premieres as the opening and closing films of the 70th Edition of the Edinburgh International Film Festival. We’re looking forward to another wonderful festival this year and wish all those involved in these two films the very best."