Export Current Frame¶
COSEDA provides two frame export actions under the Tools menu, both enabled only when a frame is loaded in the viewer.
Export current frame¶
Tools → Export current frame saves the raw detector data for the current frame as a TIFF file at full bit depth. No display adjustments (gamma, brightness, contrast) are applied — the file contains the same values that the detector recorded.
The bit depth of the output matches the source data:
Source dtype |
Output |
|---|---|
uint8 |
8-bit grayscale TIFF |
uint16 |
16-bit grayscale TIFF |
float32 |
32-bit float TIFF |
other |
cast to float32 TIFF |
A save dialog opens. If you omit the extension, .tif is added automatically.
Export current frame as displayed¶
Tools → Export current frame as displayed saves the frame exactly as it looks in the viewer — with all gamma, brightness, and contrast adjustments applied — as a PNG or JPEG.
If a geometry overlay is active, the exported image includes it. The save dialog lets you choose PNG or JPEG; if you omit the extension it is inferred from the selected filter.
When to use which¶
Use Export current frame when you need the raw signal values for further processing, or to load the frame in another tool that expects real detector data. Use Export current frame as displayed when you want a publication-ready figure or a screenshot that matches what you see on screen.