Convert DM3 and DM4 files to TIFF or PNG (Beta)

Open Gatan DigitalMicrograph .dm3 and .dm4 files without GMS and get calibrated TIFFs, pictures with a scale bar and spectra as CSV.

Opens: EMD (Velox), EMD (Berkeley), DM3, DM4, SER/EMI, SEM TIFF, BCF, SPX, H5OINA, SPD/SPC, JEOL ASW/IMG/MAP/PTS, MRC, MIB, ELID, MSA
Saves: PNG, JPEG, TIFF (ImageJ), CSV, EMD (HDF5), TXT, JSON

Convert

Microscope files
Choose files… or drop them here
.emd, .dm3, .dm4, .ser, .emi, .tif, .tiff, .txt, .hdr, .bmp, .jpg, .jpeg, .png, .bcf, .spx, .h5oina, .h5, .hdf5, .spd, .lsd, .spc, .ipr, .asw, .img, .map, .pts, .eds, .mrc, .mrcs, .mib, .elid, .msa, .ems, .emsa, .zip · up to 4096 MB each, 200 files max
    Add more files

    Velox or Berkeley .emd, .dm3/.dm4, TIA .emi with its .ser files, SEM/TEM .tif (with the .txt or .hdr file Hitachi, JEOL and TESCAN save next to it), Bruker .bcf/.spx, AZtec .h5oina, EDAX .spd with .spc/.ipr, JEOL .asw/.img/.map/.pts/.eds, .mrc, .mib, Phenom .elid or .msa. Several files or a .zip of a folder are converted together.

    Options
    Picture format

    PNG keeps every grey level; JPEG files are smaller.

    Where the scale bar is drawn. Its length is a round number (200 nm, 2 µm, 5 1/nm for diffraction) chosen from the pixel size in the file.

    Automatic picks white or black from the brightness behind the bar.

    Scale bar size

    Removes the strip with the instrument settings at the bottom of SEM pictures (Thermo Fisher/FEI, TESCAN, Zeiss, Hitachi, JEOL) before the scale bar is added. The calibrated TIFF is cut the same way.

    Automatic stretches the grey levels between the 0.5 % darkest and brightest pixels (8-bit pictures stay as recorded; diffraction patterns use a log scale). The TIFF always keeps the original values.

    For drift-corrected frames, image series and STEM scans with several frames. The TIFF always holds every frame.

    For EDS spectrum images: element symbols separated by commas, for example Fe, Ni, O. A line can be named (Au M, Cu L). Leave empty to use the elements stored in the file.

    More options

    Averages neighbouring pixels in the element map pictures so sparse X-ray counts read as areas. The TIFF and CSV files keep the unsmoothed counts.

    A fixed length such as 500 nm, 2 µm or 5 1/nm. Leave empty for an automatic round length.

    For pictures without a calibration, for example 2.5 nm or 0.31 µm per pixel.

    ImageJ-compatible keeps 8-bit and 16-bit data as they are and stores everything else as 32-bit float.

    Also save the whole spectrum image (every pixel's spectrum, as y, x, energy) as a Berkeley EMD (HDF5) file for ncempy, HyperSpy or your own scripts, when it is under 1.5 GB.

    Your files are deleted after processing.

    Gatan DigitalMicrograph saves images, diffraction patterns and spectra as .dm3 or, in newer versions, .dm4 (which also allows files over 4 GB). Both are tag files: the data sit next to a tree of tags with the calibration, the microscope and camera settings and the display state. This page reads that tree and writes the data as TIFF, PNG or CSV.

    How to convert DM3 or DM4 to TIFF

    1. Upload the .dm3 or .dm4 files, or a .zip of a folder of them.
    2. Choose the picture format, the scale bar corner and colour, and the contrast (automatic, full range, or logarithmic for diffraction patterns).
    3. Download the TIFF for measuring in ImageJ or Fiji and the picture for slides and papers.

    What is converted

    • Images and stacks in every number type DigitalMicrograph uses: 8 to 64-bit integers, 32 and 64-bit float, complex images (also the packed format of FFTs, shown as log magnitude) and RGB. 8 and 16-bit data stay as recorded in the TIFF, other types become 32-bit float.
    • Calibration. The pixel size and unit of each axis go into the TIFF, so ImageJ measures in nm or 1/nm. Images whose x and y pixel sizes differ keep both.
    • Spectra. EELS, EDS and cathodoluminescence spectra become CSV files whose energy or wavelength column uses the origin and step stored with the spectrum.
    • Spectrum images: the sum spectrum, a total-counts map and the full data cube as an HDF5 (EMD) file. Line scans give a CSV with one column per position.
    • Tags. The main settings (voltage, magnification, camera length, exposure, stage position) are listed first, followed by every tag in the file, as text and as JSON.

    Things to watch

    • A DM file can hold several images. The small preview picture that DigitalMicrograph adds is skipped; every real image in the file is converted.
    • The picture uses a contrast stretch (or a log scale for diffraction), but the TIFF always keeps the original values, so measure intensities on the TIFF.
    • An uncalibrated image (pixel size 1, no unit) gets no scale bar. Enter the pixel size under More options to add one.

    Velox users: see Velox EMD to TIFF. To put a bar on SEM pictures, see add a scale bar.

    More about what this tool reads and writes: Electron Microscopy File Converter (EMD, DM3, DM4, SER, TIFF).