Implementation of Line Encoding Schemes