Issue #56, Remove the "Supported File Format" list view, messages and related code
This commit is contained in:
@@ -132,24 +132,6 @@ class Python(ConverterBase):
|
||||
|
||||
im.save(output_filepath, format=file_format)
|
||||
|
||||
def get_format_list(self):
|
||||
"""
|
||||
Introspect PIL's internal registry to obtain a list of the
|
||||
supported file types
|
||||
"""
|
||||
formats = []
|
||||
for format_name in Image.ID:
|
||||
if format_name == 'GBR':
|
||||
formats.append('GBR_PIL')
|
||||
else:
|
||||
formats.append(format_name)
|
||||
|
||||
if USE_GHOSTSCRIPT:
|
||||
formats.append('PDF')
|
||||
formats.append('PS')
|
||||
|
||||
return formats
|
||||
|
||||
def get_available_transformations(self):
|
||||
return [
|
||||
TRANSFORMATION_RESIZE, TRANSFORMATION_ROTATE,
|
||||
|
||||
Reference in New Issue
Block a user