A method of compensating a zipper image by a K-value, and a method of calculating the K-value. Whether the nth primitive pixel of the mth line is obtained by primary line scan is determined. If the nth primitive pixel of the mth line is obtained by primary line scan, the nth primitive pixel of the mth line is compensated as the nth primitive pixel of the mth line minus a sum of the (n−1)th primitive pixel of the (m−k)th line and the (n+1 )th primitive pixel of the (m−k)th line multiplied by the K-value. If the nth primitive pixel of the mth line is obtained by secondary line scan, the nth primitive pixel of the mth line is compensated as the nth primitive pixel of the mth line minus a multiplication of the K-value and a sum of the (n−1)th primitive pixel of the (m+k)th line and the (n+1)th primitive pixel of the (m+k)th line.