implementation of some image processing compression algorithms