Package omero :: Package util :: Module originalfileutils
[hide private]
[frames] | no frames]

Module originalfileutils

source code

Functions [hide private]
 
getExtension(filename) source code
 
getFormat(filename) source code
Variables [hide private]
  importerMap = {'.dcm': 'Dicom', '.dicom': 'Dicom', '.pic': 'Bi...
  formatMap = {'.avi': 'AVI', '.qt': 'QT', '.pic': 'Pict', '.eps...
  UNKNOWN = 'type/unknown'
  KNOWNMIMETYPE = 'type/known'
  IMPORTER = 'application/importer'

Imports: mimetypes


Variables Details [hide private]

importerMap

Value:
{'.dcm': 'Dicom', '.dicom': 'Dicom', '.pic': 'BioRad', '.ipl': 'IPLab'\
, '.iplm': 'IPLab', '.dv': 'Deltavision', '.r3d': 'Deltavision', '.mrc\
': 'MRC', '.dm3': 'Gatan', '.ims': 'Imaris', '.raw': 'OpenlabRaw', '.o\
me': 'OMEXML', '.lif': 'LIF', '.sdt': 'SDT', '.sld': 'Slidebook', '.al\
3d': 'Alicona', '.mng': 'MNG', '.nrrd': 'NNRD', '.xv': 'Khoros', '.xys\
': 'Visitech', '.lim': 'LIM', '.xdce': 'InCell', '.ics': 'ICS', '.2': \
'PerkinElmer', '.3': 'PerkinElmer', '.4': 'PerkinElmer', '.5': 'Perkin\
Elmer', '.6': 'PerkinElmer', '.7': 'PerkinElmer', '.8': 'PerkinElmer',\
...

formatMap

Value:
{'.avi': 'AVI', '.qt': 'QT', '.pic': 'Pict', '.eps': 'EPS', '.psd': 'P\
SD', '.jp2': 'video/jpeg2000', '.tif': 'image/tiff', '.tiff': 'image/t\
iff'}