Image compression using fractals and discrete cosine transform