A judge has launched an extraordinary tirade on media coverage of Harriet Wran saying intense focus, including on her family background and appearance, was disproportionate to the crime she committed.

In sentencing Wran on Tuesday, Justice Ian Harrison was scathing about the "humiliating" media attention Wran had received particularly in The Daily Telegraph and The Sunday Telegraph.

Justice Harrison took the "sustained and unpleasant campaign" against Ms Wran into consideration when handing down a minimum two-year jail sentence on Tuesday.

Wran, the daughter of former NSW premier Neville Wran, will now walk free within a matter of weeks with time served after being convicted of robbery in company and accessory after the fact to murder.