1. An encoding method for converting image data to a television signal, comprising: using a database and an adder to convert the image data to the television signal according to a preset mechanism; wherein the preset mechanism comprises a plurality of multiplication and addition operations.