|

All
|
Image Editor v3.0 (Snippet ID 22600)
Keith Wood
This tool provides a basic image editor as a viewer within the JBuilder IDE. It appears as the "Design" tab in the content pane when viewing a GIF, JPEG, or PNG image. A preview panel appears in the structure pane, showing both the current image at its normal size, as well as the contents of the clipboard. The size of the image or clipboard contents is shown in the header of the preview panel, while the current pixel location and colour are shown in the status bar as you move over the image.
Two toolbars let you manipulate the image. The first provides image operations, such as rotation, flipping, moving, saving, restoring, and resizing. The other provides drawing tools, including move, cut, copy, paste, pencil, erase, fill, line, rectangle, text, as well as colour selection (including transparent), swapping, and transposition. You can also overlay a grid onto the image to facilitate using multiple sub-images. See the online help for more details.
You can create a new image by going to File | Open File and entering a new filename with a ".gif", ".jpeg", or ".png" extension. Then open up this viewer and create your new image, resizing as necessary.
To install the editor, just copy the *.jar file to the JBuilder/lib/ext directory and restart JBuilder.
Writing out GIF images uses the GIF encoder from Acme Java.
Writing out JPEG and PNG images uses the encoders from the Java Image IO package that comes with JDK 1.4.

Image Editor v3.0 home page
|