first add of image compression code and paper