a new sort of lossless image compression coding method is proposed.This algorithm increases the compression space by the image gray value differential procession.Meanwhile the algorithm will have appropriate length strings to different images
therefore it has certain self-adaptive.The results of the experiment proves the algorithm successful in image compression.