[tracker] added function for jpeg codec