A shared library providing functionality to read, write and modify files saved in the DigitalMicrograph file format (version 3 or 4)

4 releases

0.1.5 Jun 5, 2021
0.1.4 Aug 12, 2020
0.1.2 Aug 3, 2019
0.1.0 Jun 9, 2018

#658 in Science



About dmio

dmio is free software! It is a shared library allowing you to read and write the proprietary DigitalMicrographTM version 3 and version 4 (dm3, dm4) file format. This file format is commonly used for Transmission Electron Microscopy (TEM) images and other experimental data such as line spectra. dmio is written in Rust based upon previous knowledge about the file format found on the internet.


At the moment the library is in an early development stage and functionality is limited. The main functionality of parsing and writing the files is already implemented and basic testing was performed. Please notice that this code is a private hobby project with the main purpose of getting better at programming Rust. For the future functionality extensions such as e.g. a FFI for C and Python are planed.


This software is licensed under the LGPL-3.0-or-later.

You should have received a copy of the GNU Lesser General Public License along with dmio. If not, see http://www.gnu.org/licenses/.


~15K SLoC