Image compression based on a multipoint Taylor series representation