Chapter 3. The Graphicizer Image-Editing and Conversion Tool
The Graphicizer application.
The Graphicizer is a very cool image-handling tool that lets you load in images, manipulate them, and save them back to disk. It'll convert image formats tooyou can use the Graphicizer to load in JPEG, PNG, or GIF images and then store them in either JPEG or PNG format. When an image is loaded, you can convert it to an embossed image with the click of a button, or you can sharpen it, brighten it, blur it, or reduce its sizeall using Java. You can even undo the most recent change.
You can see the Graphicizer at work in Figure 3.1, where it has loaded in a sample image that comes with the book's code, image.gif. To emboss this image, sharpen it, or perform other actions, all you've got to do is click a button.
Figure 3.1. The Graphicizer tool at work.
Here are some of the things this application does:
How do you create this application and get it running? As you'd expect, the first step is to create the main Graphicizer window, which acts as a canvas to display the image under design, as you see in Figure 3.1.