The purpose of this paper is to apply the fractal technique to digital image watermarking. A fractal watermarking scheme makes use of an affine transformation, resulting in self-similarity of the image. Before the watermarking was embedded, the image was divided into range blocks and a domain block pool in the DCT domain. An affine transformation was used to search the embedded blocks, and then embed the watermarking into them by the JND model of the Human visual system. However, watermark extracting is an inverse process. Preliminary experiments show the validity and the robustness of the proposed scheme.