O'Reilly logo

Core Java™ 1.1 Volume II - Advanced Features by Gary Cornell, Cay S. Horstmann

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

Chapter 6. Advanced AWT

If all you are doing is scanning in images or downloading existing images from the net, you rarely need to get under the hood of an image. Ultimately, however, an image is an array of bits describing the pixels; Java, like most languages with sophisticated image handling, has methods both for converting an image to an array of pixels and for converting an array of pixels back to an image. This capability lets you:

  • Build up images via a mathematical formula. (It is certainly quicker to send a formula for building an image across the net than it is to send a large image. Fractals like the ubiquitous Mandelbrot ...

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