A general approach to the fractal coding of images is presented, in wh
ich image blocks are represented by least squares approximations by fr
actal functions. Previously known fractal transforms are subsets of th
is method, which is called the Bath fractal transform (BFT). By search
ing the image, a hybrid of known methods is achieved, and they are eva
luated in the polynomial case with a standard test image.