It's one of the most striking images from the takeover of Afghanistan by the Taliban. Hundreds of Afghans packed into a US military cargo plane as they flee Kabul, BBC reported.

The image was initially obtained by the US defence analysis website, Defense One, but was released by the US Air Mobility Command public affairs office on Tuesday.

On Sunday, panicked civilians had scrambled up the loading ramp, Defense One quoted a US official as saying, but the crew decided it was best to take off rather than force the Afghans off the plane.

The number onboard - 640 - is among the highest carried by that type of plane, a C-17 Globemaster.

It's approaching, though still some way off, the record for the number of people transported by any plane - an Israeli Boeing 747 carrying more than 1,000 Jewish migrants from Ethiopia in 1991.

The US defence official quoted by Defense One, says the flight from Kabul to Qatar was one of several which managed to extract hundreds of Afghans from Kabul.