File › Export · version 4
Save the picture as the window shows it – its layers, panels, scale
Saves the super-resolved picture as a file – PNG, TIFF or JPEG – as the render window shows it: every visible layer (one picture of the localizations with its own filter and colours), the panels side by side if the window splits them, and what the window draws over the picture: a scale bar, a colour bar for each layer coloured by an attribute, and the panels' names. Rendered again, at the pixel size the window shows or one you set, so a 5 nm pixel over a whole cell gives a file thousands of pixels wide however small the window is.
It is the one way a picture is made: the render window's ⋯ menu and the 3D view's Save menu write through it too. PNG as displayed... there is this plugin at its defaults, on the view as it is; Save image... opens it, set to the window it was asked from.
Use it for a figure, a slide or a record of what was looked at. Choose what to save:
The file says how it was made, as SMAP's did: the pixel size in its resolution tags, and the files, the layers, their render settings and filters (the lowest and highest values of attributes a localization must lie between), and the merging of blinks, written into it as text. It is a picture, not a measurement – apart from the 32-bit intensity, the brightness is scaled for display. To analyse the localizations elsewhere, save the table instead.
1. The area. The picture covers what the window shows (the view), the box around the drawn ROI (region of interest), or every localization (everything), cut into pixels of pixel – the window's own pixel when pixel is on auto. The number of pixels follows: a field of 20 µm at 10 nm is 2000 pixels wide.
2. The render. Each visible layer is drawn exactly as the window draws it – its filter, its merged blinks, its render mode, colours, contrast and gamma – by the window's own render, and the layers are added up. Saved at the window's pixel, the composite is the window's picture pixel for pixel.
3. What is drawn over it. The scale bar sits bottom right: a round length, a fifth of the width or more (the length the window's bar has), or the length you set; its length in pixels is that length divided by the pixel size. The colour bars sit top right, one per colour scale, as in the window: the colour table from the bottom of the colour range to its top, the two ends written in the attribute's unit, the layers and the attribute above. The labels name each panel, or each layer's file, top left. The text grows with the picture, so a large export does not carry specks.

The view split into its two layers and the overlay, as the window shows it: the scale bar on the first panel, the colour bar of the layer coloured by z in the top right corner, and each panel's name.
4. Each layer on its own. In its colour, a layer's file is its panel of the view. In grey, it is its intensity scaled as its display scales it (contrast and gamma), without the colours: one channel of a multicolour picture, for a program that takes channels.

The second layer saved on its own: in its colours (left), coloured by z, and as grey intensity (right), where the colour by z is gone and the brightness is what remains.
The size. For an area from to
and a pixel
the picture is
pixels wide, and likewise high. The view at its own pixel is the window's canvas; the ROI's area is its bounding box, whatever its shape; everything is the data's extent with a margin of 1 % on each side.
The brightness. The value set to full scale is the quantile of the pixels,
a layer's contrast: the brightest fraction
saturates. It is computed afresh for every render, so a picture saved at another pixel or over another area is scaled afresh too, and its brightness is not comparable with the first. The grey intensity of a layer is the same normalised value, raised to the layer's gamma, written as 0 to 255.
The 32-bit intensity is the sum over the visible layers of what each accumulates per pixel – one per localization in hist mode, the Gaussians' values otherwise – before any contrast, LUT or clipping. PNG and JPEG have no floating-point pixels, so it is always written as a TIFF, whatever the file's extension says; nothing is drawn over it.
Colours and paper. The layers' colours are added up and clipped, and a layer on white background turns the sum over once (LUT, look-up table, also called a colour map); the bars and labels are then drawn black instead of white.
The file. Its format follows the extension (.png, .tif, .jpg). PNG and TIFF are lossless; JPEG blurs fine structure and is best avoided for super-resolution pictures. The pixel size is written as the resolution: in a TIFF as pixels per centimetre, which ImageJ and Fiji read as µm; in a PNG as pixels per metre. JPEG's resolution field cannot hold a nanometre pixel, so a JPEG has none. How the picture was made is written as YAML: the TIFF's ImageDescription (Fiji: Image > Show Info), the PNG's Description text, the JPEG's comment. It holds the pixel size and the area, these settings, the files, the merge settings, and per visible layer its filter, whether it shows merged blinks, the files it shows, the number of localizations it draws, and its render and display settings.
Each layer goes to the file's name with _layer1, _layer2, ... before the extension, numbered as the Render tab numbers the layers.
The 3D view. Asked from the 3D window (window is 3D view), the picture is its projection: the turn, the zoom and the slab as they are. The view is the window's canvas; the ROI and everything are the slab's box on the screen. A tracks layer is drawn as lines through the volume and an image layer as a flat plane at the height of the centre of rotation, as the window draws them. It is drawn on the processor, which gives the picture of the auto, cpu and gpu engines; the points and spheres looks are the graphics card's own, and its PNG as displayed... keeps the screen's pixels instead.
Without a window – a script or a batch – there is no view: the view is everything, and pixel on auto is 10 nm. Without a session, the context's table is drawn as one layer with the default settings.
On other axes (the Render tab's axes: a picture of one attribute against another) the pixel is in the x axis's unit and no scale bar is drawn: one bar cannot be a length on both axes.
| setting | default | what it does |
|---|---|---|
filepath | – | The picture; its extension (.png, .tif, .jpg) is its format. |
whatwhat | as the view | The panels as the window shows them, the layers added up, a file per layer, or the summed intensity as numbers (a TIFF). as the view is what the window shows, and the one to use for a figure. composite only saves one picture whatever the window's layout. each layer writes as many files as there are visible layers. Choices: as the view; composite only; each layer, colour; each layer, grey; intensity, 32-bit |
arearegion | the view | What the window shows, the drawn ROI's box, or all the data. the ROI frames the picture on the box around the drawn ROI; the localizations outside the ROI but inside the box are drawn too, as in the window. Choices: the view; the ROI; everything |
pixelpixelsize_nm | auto | The picture's pixel; auto: as the window displays it. About half the localization precision is as fine as is useful – 5 to 10 nm for a typical dSTORM or PAINT table; coarser for an overview. The picture's size grows as the square of the inverse: halving the pixel makes four times as many. at least 0.01 nm |
scale barscale_bar | on | A bar of a round length, bottom right. |
bar lengthscale_bar_nm | auto | Auto: a round fifth of the width, as the window's. Set it to make the bars of several pictures the same length. A bar wider than the picture is left out. |
colour barscolour_bars | on | The colour scale of each layer coloured by an attribute, top right. Only a layer coloured by an attribute has one; a layer coloured by intensity needs none, as its brightness is what the picture shows. |
labelslabels | on | Each panel's or layer's name, top left. |
windowview | 2D picture | Which window's picture: the 3D view's is its projection. Shown once the 3D window has been opened; Save image... in a window sets it to that window. Choices: 2D picture; 3D view |
The files, a line in the history saying where they went and with which settings, and in each file how it was made. A picture that comes out black or nearly white was scaled by the layers' contrast: the same setting in the Render tab changes it.
Ported from SMAP's TifSaver (Ries 2020). SMAP saved the window's picture at the window's pixel, as "rendered image with scalebar", "rendered image", "layer 1-3 as RGB" or "layer 1 as grayscale", and wrote its render settings into the TIFF's description as tab-separated text. Here:
smappy.picture.read_description), and it is written into PNG and JPEG files as well as TIFF.