Edit Menu



Reverses the effect of the most recent image editing or filtering operation. Note that operations on entire stacks cannot be reversed using Undo.

Copies the contents of the current image selection to the internal clipboard and fills it with the current background colour.


Copies the contents of the current image selection to the internal clipboard. If there is no selection, copies the entire active image. The amount of image data copied is shown in the status bar. Cut,Copy and Paste of images to other applications is currently not supported. Select the Fill With Clipboard option in the File/New dialog to create a new window from the contents of SalsaJ's internal clipboard.

Inserts the contents of the internal clipboard into the active image. The pasted image is automatically selected, allowing it to be dragged with the mouse. Click outside the selection to terminate the paste. Select Edit/Undo to abort the paste operation.

Paste Control...
After a Paste, use the Paste Control popup menu to control how the image currently being pasted is transferred to the destination image.

paste Control

Except for "Blend" and "Transparent", the Paste Control transfer modes are the same as those listed in the description of Process/Image Calculator. The "Blend" mode is the same as Image Calculator "Average" mode. In "Transparent" mode, white pixels are transparent and all other pixels are copied unchanged. "Transparent" mode only works with 8-bits and RGB images.

Erases the contents of the selection to the current background colour (normally white). The backspace (or delete) key is a handy shortcut for this command.

Clear Outside
Erases the area outside the current image selection to the background colour.

Fills the current selection with the current foreground colour. The foreground colour is set by using the dropper tool to "pick up" a new colour from an image. Alt-click with any other tool, except the magnifying glass, to temporarily switch to the dropper tool. Colours can be "picked up" from the Image/Colours window using any tool. The dropper tool icon in the tool bar is drawn in the foreground colour and the frame around it is drawn in the background colour.

Outlines the current selection using the current foreground colour and line width. The "Colours" window, opened with the Image/Colours command, provides a palette of drawing colours. Colours can be "picked" up from the "Colours" window without having to switch to the dropper tool. Use the Edit/Options/Line Width command, or double-click on the freeline tool, to change the line width.

Creates a reversed image, similar to a photographic negative, of the entire image or selection.

The commands in this submenu create, delete or modify selections.

Select All
Creates a rectangular selection that is the same size as the image.

Select None
Deactivates the selection in the active image.

Restore Selection
Restores the previous selection to its original position. A selection is saved when you:

  • Delete the selection by clicking outside of it
  • Draw a new selection
  • De-activate the image containing the selection
  • Close the image containing the selection
  • Open a new selection using File/New
  • Use a command that deletes or modifies the selection
You can transfer a selection from one image to another by activating the image with the selection, activating the destination image, then pressing shift-e (the keyboard shortcut for Restore Selection). [Selections]

Fit Spline
Fits a cubic spline curve to a polygon or polyline selection.

Use commands in this submenu to change various SalsaJ user preference settings.

Line Width...
Displays a dialog box that allows the width of lines generated by the Draw command to be changed.

line with

JPEG Quality...
Use this dialog to specify the compression level use by the File/Save As/Jpeg command. Requesting a higher degree of compression (a lower value) will produce smaller files, but poorer image quality.

Opens a small window with three popup menus for specifying the type face, size and style of the font used by the text tool.


Profile Plot Options...
Use this dialog to control how plots generated by Analyse/Plot Profile are displayed.

profile plot options

Plot Width and Plot Height specify the size of the plot in pixels. If Fixed Y-axis Scale is checked, the y-axis range is fixed and the specified Y Min and Y Max values are used, otherwise, plots are scaled based on the minimum and maximum gray values. Check Do Not Save X-Values to have "List", "Save" and "Copy" in profile plot windows display or save only y-values. Check Auto-close to have profile plot windows automatically closed when "List", "Save" or "Copy" are clicked on. Check Vertical Profile to generate row average plots of rectangular areas instead of the default column average plots.

Displays a dialog box containing miscellaneous options.


The Divide by Zero Value specifies the value used when Process/Image Calculator detects a divide by zero while dividing one 32-bit real image by another. The default is infinity. In addition to numeric values, "infinity" (positive or negative infinity), "max" (largest positive value) and "NaN" (Not-a-Number) can be entered as the Divide by Zero Value value.

Check Use Pointer Cursor and SalsaJ will use an arrow cursor instead of the default crosshair that is sometimes difficult to see on grayscale images in areas of medium brightness. This option can also be used to work around a bug on Windows where the text cursor is sometimes used in place of the crosshair. Note that SalsaJ must be restarted when running v1.33l and earlier.

Check Hide "Process Stack?" Dialog to suppress the dialog that asks "Process all xx slices?" (only the current slice will be processed).

Check Antialiased Text to have the text tool create smoothed text and for the text displayed in histogram windows and plot windows to be smoothed. Requires Java 1.2 or later.

Check Debug Mode to enable display of debugging messages in the "Log" window. Close the "Log" window to disable display of debugging messages.

Repeat Command
Repeat the last command.