Save image (generic)

Save an image/stack from the workspace to file.

Description

Save an image/stack from the workspace to file. Output file locations and filenames are generated from metadata items and fixed values. This gives greater flexibility to output image locations than the standard "Save image" module. To prevent overwriting of previously-saved files, the current date and time can be appended to the end of each filename. Images can be saved in a variety of formats (AVI, TIF and Zipped TIF).

Parameters

ParameterDescription
Input imageImage to be saved to file.
Generic formatFormat for a generic filename. Plain text can be mixed with global variables or metadata values currently stored in the workspace. Global variables are specified using the "V{name}" notation, where "name" is the name of the variable to insert. Similarly, metadata values are specified with the "M{name}" notation.
Append date/time mode
File formatThe format the output image will be saved as:
  • "AVI" Video written using the stock ImageJ "AVI Writer". Videos can use different compression algorithms specified using "Compression mode". Framerate specified by "Frame rate (fps)" parameter.
  • "TIF" Standard multidimensional (multi-page) TIF image saving.
  • "ZIP" TIF images stored using ZIP compression. For images with large homogeneous regions of pixel intensity this can greatly reduce file size in a lossless manner. Zipped images can be read directly back into ImageJ/Fiji without the need for prior decompression.
Channel modeControl whether saved images should be in ImageJ "Composite" (display all channels simultaneously) or "Color" (display one channel at a time) mode.
Save as RGBConvert images to RGB prior to saving. This is useful for displaying multi-channel images to a format that can be easily viewed outside ImageJ.
Compression modeCompression mode used when saving AVI videos ("File format" parameter):
  • "JPEG" Lossy video compression with quality specified by "Quality (0-100)" parameter. This option is good when reducing video size is more important than retaining perfect image quality.
  • "None" Frames are stored in their raw format (uncompressed). This gives the highest quality, but also the largest file size.
  • "PNG" PNG video compression.
Quality (0-100)Quality of output JPEG-compressed video (values in range 0-100). For reference, saving AVIs via ImageJ's "File > Save As..." menu uses a quality of 90.
Frame rate (fps)Output video framerate (frames per second).
Flatten overlayFlatten any overlay elements onto the image prior to saving.