imagesplit.file.format_factory module

Support multiple imaging formats

Author: Tom Doel Copyright UCL 2017

class imagesplit.file.format_factory.FormatFactory[source]

Bases: object

Return required factory for image file formats

classmethod extension_to_format(file_extension)[source]

Get the format name for this file

classmethod get_extension_for_format(file_format)[source]

Returns the output file extension for this file format

classmethod get_factory(format_string)[source]

Get the file factory for this format

classmethod simplify_format(format_name)[source]

Get the standard format name for a format name which should be standard but may have been modified