\input zb-basic \input zb-matheduc \iteman{ZMATH 2013b.00891} \itemau{Kir\'{a}ly, S\'{a}ndor} \itemti{Demonstrating the feature of energy saving of transforms in secondary schools.} \itemso{Teach. Math. Comput. Sci. 10, No. 1, 43-55 (2012).} \itemab Summary: When we teach digital image formats and explain the JPEG format we may get into difficulties how to explain discrete cosine transform to our students. Why do we need this transform before compressing? Students probably do not know that the feature of energy saving of this transform makes the chance of good compression. In this article we show how we can demonstrate this feature of these transforms which make the chance of good compression while saving the most energy of images. \itemrv{~} \itemcc{R45 I75 I95 M55} \itemut{discrete cosine transforms; wavelet transforms; matrix multiplication; digital image formats; compression} \itemli{} \end