The larva has attached itself in an upright position by a silk girdle.
Two days later the larval skin splits open behind the head.
The skin is shed downwards as the pupa emerges.
The pupal wing cases are exposed.
The moult is completed in a few minutes....
....and the moulted skin is jettisoned.
Three hours later the pupal membrane has hardened.
After two days the pupa has adopted its final colouring.