Recently it has been shown that in Image Processing, the usual sum and product of the reals are not the only operations that can be used. Several other operations provided by fuzzy logic perform well in this application. We continue this line of research and we propose the use of a pair consisting of a uninorm and an absorbing norm determined by a continuous, strictly increasing generator instead of the classical sum and multiplication. In the present paper the Discrete Cosine Transform (DCT)-based image compression method is generalized by using a pair consisting of a uninorm and an absorbing norm. We show that the results of the proposed method outperform in several cases the classical DCT image compression algorithm.