A 19th-century library is among seven historic landmarks being restored with grants totalling nearly £600,000.

The A-listed James Watt Library in Greenock, one of Inverclyde's most important civic buildings, will be fully reopened after receiving a £297,000 funding boost.

The money will allow parts of the building which have been unable to be used for years to be reopened and a library, exhibition and archiving facilities to be created.

A disused school in Glasgow will be converted into affordable homes and a former Sunday school in Paisley, Renfrewshire, will be transformed into a health centre in the latest round of building repair grants totalling £576,460 from Historic Environment Scotland (HES).

Priority has been given to applicants that demonstrated investment in their projects would result in community benefit.

Martin Fairley, head of grants at HES, said: "The purpose of building repair grants is primarily to assist with the repair and reuse of important historic buildings and sites, but also to ensure that the end use is something which the wider community benefits from.

"Amongst the beneficiaries of the latest round of funding there is a former school in north Glasgow, disused since 2013, which is going to be converted into affordable houses.

"We also have a former Sunday school in Paisley which will eventually become a health centre, helping people to stop smoking, offering health checks, as well as dietary, alcohol and drugs advice."

The B-listed former Greenview School, originally Balmore Public School, in Parkhouse, north Glasgow, will receive £109,250 in funding to convert it into 28 houses.

Memorial Hall in Paisley, a C-listed building which originally served as a Sunday school in 1900, is to be converted into a church and health centre with a £104,280 grant.

Other recipients include A-listed Castle Leod in Strathpeffer, Easter Ross, which will receive a grant of £13,680 as part of the third phase of a project to open up the 16th century building to the public.

The cast-iron Zetland Park fountain in Grangemouth, constructed in 1882, will be restored to its former glory with a £18,250 funding boost.

The C-listed Locus Centre in Perth, built in 1877 to 88 will receive £9,000 to carry out essential repairs on the building's stone tower and spire.

In addition, the B-listed Holy Trinity Church in Lamington Village, South Lanarkshire, will receive £25,000 to carry out vital repair work to the building's interior and exterior as part of a wider project to secure the long-term future of the site and increase and improve community and visitor use of the chapel.

More information on the HES scheme can be found on its website.