Table of supported image formats in EMAN2
Type |
Extension |
Read |
Write |
3D |
stack |
Comments |
MRC |
mrc |
Y |
Y |
Y |
N |
|
Spider |
spi |
Y |
Y |
|
Y |
|
Imagic |
img/hed |
Y |
Y |
|
Y |
seperate header and data file |
HDF5 |
hdf |
Y |
Y |
Y |
Y |
can write different size image into same stack |
DM3 |
dm3 |
|
N |
|
|
|
TIFF |
tiff/tif |
|
|
|
|
|
PGM |
pgm |
|
|
N |
N |
8 bits per pixel |
LST |
lst |
Y |
Y |
Y |
Y |
ASCII file contains a list of image file names |
PIF |
pif |
|
|
|
Y |
images in PIF stack are homogenous |
VTK |
|
|
|
Y |
N |
|
PNG |
png |
|
|
|
|
lossless data compression |
SAL |
hdr/img |
Y |
N |
N |
N |
seperate header and data file |
ICOS |
|
|
|
Y |
N |
|
EMIM |
|
|
|
|
|
|
Gatan2 |
|
Y |
N |
N |
N |
|
Amira |
|
N |
Y |
Y |
N |
|
XPLOR |
|
|
|
Y |
N |
8 bytes integer, 12.5E float format |
EM |
em |
|
|
Y |
N |
|
V4L |
|
Y |
N |
|
|
|
JPEG |
jpg/jpeg |
N |
Y |
|
N |
lossy data compression |
FITS |
|
Y |
N |
Y |
|
common file format in astronomy |
LSTFAST |
|
|
|
|
|
|
Saving EMData from Python
If you want to be prompted to supply a image name using a standard dialog use this approach