A man who stomped on a police officer's head so hard that a crack could be heard will be released from prison as he prepares to appeal his sentence.