A selection of the week's best photos from across the continent and beyond:
EPA
Thousands of blankets knitted for a yearly giveaway on Nelson Mandela Day are laid out in Johannesburg, South Africa, on Wednesday.
EPA
In the same city on Friday, customers have fun at newly opened interactive photo booths.
AFP
Dubbed "The Rock" and mined in South Africa in the early 2000s, this enormous white diamond sells for $21.9m (£17.9m) at auction in Switzerland on Wednesday.
Reuters
A day earlier, Sudanese artist Ghassan paints a mural at a school in the city of Omdurman.
EPA
Rania Mansour makes rose water according to traditional methods at her workshop in Nabeul, Tunisia, on Saturday.
EPA
Grain is harvested in the wheat fields of Qaha on Tuesday, as Egyptians rely more on local wheat with cheaper imports from Ukraine cut off.
AFP
A farmer picks tea leaves in south-eastern Rwanda on Friday. The sector grew by 7% last year, according to government data.
Gallo Images
On Saturday marijuana lovers gather for the annual Global Cannabis March in Cape Town, South Africa.
Getty Images
Eritrean cyclist Biniam Girmay Hailu greets fans ahead of the Giro d'Italia on Friday.
AFP
Noélie Yarigo Pace of Benin (L) and Prudence Sekgodiso wait for their race times after the 800m event at the Kip Keino Classic in Kenya on Saturday. They finished ninth and first respectively.
EPA
Visitors explore a piece by Adelheid von Maltitz at a sculpture park in Johannesburg, South Africa...
EPA
It also features this installation by Daniel Grey and the work of many other artists, all under the theme of "Good Neighbours".