In this paper a new class of invertible watermarking approach based on quantization has been introduced. Based on the necessary conditions (blindness, reversibility and imperceptibility), a set of linear convex functions which satisfy these requirements are found. Then the optimum of this function set with the least distortion has been selected. The main advantage of this method is that the inserted distortion can be easily controlled by adjusting quantization levels. The low computational complexity is another advantage of this method. Experimental results show that the proposed algorithm achieves higher embedding capacity while its distortion is lower than other invertible watermarking techniques.