Solaris Common Desktop Environment: User's Guide

Editing Images

You can use Image Viewer to manipulate images in many ways:

Using the Palette Tools

The Palette dialog box provides tools that enable you to manipulate images.

Figure 16–3 Palette dialog box

Graphic

To Display the Palette Automatically

You normally display the Image Viewer Palette by choosing Palette from the Edit menu. However, you can also automatically display the palette whenever you open a document:

  1. Choose Options from the File menu.

  2. Select Display Palette On Opening Document.

  3. Click OK or Apply.

To Select a Region to Save as a New File

You can cut out a region of an image or page and save that region as a new file.

  1. Select Palette from the Edit menu if the palette is not displayed.

  2. Click the Selector tool in the palette.

  3. Move the pointer into the View window.

  4. Place the target pointer over a corner of the region you want to save as a new image and drag mouse button 1 to the opposite corner.

    Graphic

    Image Viewer draws a border around the region you define.

  5. Choose Save Selection As from the File menu.

    The Save Selection As dialog box appears.

  6. Select the file format in which you want your file written.

    For a list of the formats, see Image Viewer File Formats.

  7. (Optional) Choose a compression method from the Compression menu button.

    The default is None (no compression); compressed files require less disk space.

  8. (Optional) Choose the number of colors to save for your file from the Colors menu button.

    The choices depend on the type of monitor you have.

  9. Click OK.

To Rotate an Image

  1. Select Palette from the Edit menu if the palette is not displayed.

    Graphic
  2. Specify the number of degrees you want the image or page rotated.

    The default value is 90 degrees; change the value in one of the following ways:

    • Double-click in the Rotate Degrees field and type the number

    • Click the arrow buttons

    • Drag the slider

  3. Click one of the rotate tools to rotate the image or page left or right.

    Image Viewer rotates the image or page according to the value in the Rotate Degrees field.

  4. To restore the image to its last-saved orientation, click Revert.

To Flip an Image

  1. Select Palette from the Edit menu if the palette is not displayed.

  2. Click one of the flip tools to invert or create a mirror image of the currently displayed image or page.

    Graphic
  3. To restore the image to its last-saved orientation, click Revert.

To Scale an Image

To enlarge or reduce an image proportionally:

  1. Select Palette from the Edit menu if the palette is not displayed.

    Graphic
  2. Specify the scale percentage.

    The default value is 100%; change the value in one of the following ways:

    • Double-click in the Scale Percentage field and type the number

    • Click the arrow buttons

    • Drag the slider

  3. Click the Scale tool.

    Image Viewer scales the image according to the value in the Scale Percentage field.

  4. To restore the image to its last-saved size, click Revert.

To Undo an Edit Operation

Image Viewer provides two methods for cancelling an unsaved edit operation: