The costs of a prosecution, except the fees of his own witnesses, shall not be demanded of a defendant until after trial and conviction. If convicted, judgment may be entered against the defendant for all costs accruing in the committing and trial courts and by any officer pending the prosecution. The judgment shall be a lien from the date of his arrest on all the property of the defendant. The clerk shall issue an execution on the judgment against the property.
OCGA § 17-11-1