Image Formats

Preferred Extensions and Mime Types

Images can generally be read regardless of their name. By default, when opening an image with large_image.open(), each tile source reader is tried in turn until one source can open the file. Each source lists preferred file extensions and mime types with a priority level. If the file ends with one of these extensions or had one of these mimetypes, the order that the source readers are tried is adjusted based on the listed priority.

The file extensions and mime types that are listed by the core sources that can affect source processing order are listed below. See large_image.listSources() for details about priority of the different source and the large_image.constants.SourcePriority for the priority meaning.

Extensions

1sc
2fl
ace2
acff
afi
afm
aim
al3d
ali
am
amiramesh
apl
apng
arf
asc
avi
avif
b
bag
bif
bil
bin
bip
blp
blx
bmp
bt
btf
bufr
bw
byn
c01
cal
cfg
ch5
cif
cr2
crw
csv
ct1
cub
cur
cxd
czi
dat
db
dcm
dcx
ddf
dds
dem
dib
dic
dicom
dm2
dm3
dm4
dt0
dt1
dt2
dti
dv
dwg
dz
dzc
dzi
eer
emf
eps
epsi
err
ers
exp
exr
fdf
fff
ffr
fit
fits
flc
flex
fli
frm
ftc
fts
ftu
gbr
gdb
gel
gen
geotiff
gff
gif
gpkg
gpkg.zip
grb
grb2
grc
grd
grey
grib
grib2
gsb
gta
gti
gti.fgb
gti.gpkg
gtx
gvb
gxf
h5
hdf
hdf5
hdr
hdr.gz
hed
heic
heics
heif
heifs
hf2
hgt
hif
his
htd
html
hx
i2i
icb
icns
ico
ics
ids
iim
im
im3
img
img.gz
ims
inr
ipl
ipm
ipw
isg
j2c
j2k
jfif
jls
jp2
jpc
jpe
jpeg
jpf
jpg
jpk
jpls
jpt
jpx
json
jxl
kap
klb
kml
kmz
kro
l2d
labels
lbl
lcp
lei
lif
liff
lim
lms
lsm
map
mat
mbtiles
mdb
mea
mem
mnc
mng
mod
mov
mpeg
mpg
mpl
mpo
mpr
mrc
mrcs
mrf
mrw
mrxs
msp
msr
mtb
mvd2
n1
naf
nat
nc
nd
nd2
ndpi
ndpis
nef
nhdr
nia
nia.gz
nii
nii.gz
nitf
nrrd
ntf
obf
obsep
oib
oif
oir
ome
ome.btf
ome.tf2
ome.tf8
ome.tif
ome.tiff
ome.xml
palm
par
pbm
pcd
pcoraw
pcx
pdf
pds
pfm
pgm
pic
pict
pix
png
pnl
pnm
ppi
ppm
pr3
prf
ps
psd
ptif
ptiff
pxr
qoi
qpi
qptiff
r3d
ras
raw
rcpnl
rda
rec
res
rgb
rgba
rik
rst
rsw
scn
sdat
sdt
seq
sg-grd-z
sgi
sid
sif
sigdem
sld
sm2
sm3
spc
spe
spi
sqlite
st
stk
stp
svs
svslide
sxm
szi
tc
ter
tf2
tf8
tfr
tga
tif
tiff
tnb
toc
top
tpkx
txt
v
vda
vff
vips
vms
vmu
vrt
vsi
vst
vws
wat
webp
wlz
wmf
wpi
xbm
xdce
xml
xpm
xqd
xqf
xv
xys
xyz
yaml
yml
zarr
zarray
zattrs
zfp
zfr
zgroup
zif
zip
zvi

Mime Types

application/dicom
application/json
application/pdf
application/postscript
application/vnd+zarr
application/x-zarr
application/yaml
application/zip+zarr
image/avif
image/bmp
image/czi
image/geotiff
image/gif
image/heic
image/heif
image/icns
image/jls
image/jp2
image/jpeg
image/jpx
image/jxl
image/mirax
image/mpo
image/nd2
image/palm
image/png
image/rgb
image/scn
image/sgi
image/tiff
image/vnd.adobe.photoshop
image/vsi
image/webp
image/x-icon
image/x-pcx
image/x-portable-anymap
image/x-ptif
image/x-tga
image/x-tiff
image/x-xpixmap
image/xbm
image/xpm
video/mpeg