O'Reilly logo

Graphic Java™ 1.2, Volume I: AWT, Third Edition by David M. Geary

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

This chapter has explored the AWT's support for image filtering. You should have a good understanding of the ImageProducer and ImageConsumer interfaces and of how producers and consumers interact. You should also be familiar with the filters the java.awt.image package provides and know how to use and combine image filters.

Custom image filters are implemented typically by extending either java.awt.image.ImageFilter or java.awt.image.RGBImageFilter. At first glance, implementing ImageFilter directly can be very confusing, and we hope our discussion on the matter will make it easy for you to write your own filters.

We have one more chapter to go concerning image manipulation. In the next chapter, we'll focus on manipulating images without ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required