Added converter backend agnostic image file format descriptions

This commit is contained in:
Roberto Rosario
2011-08-12 04:06:48 -04:00
parent 0a2591d58f
commit c46c52ebdf
6 changed files with 274 additions and 7 deletions

View File

@@ -130,11 +130,14 @@ class ConverterClass(ConverterBase):
"""
formats = []
for format_name in Image.ID:
formats.append((format_name, u''))
if format_name == 'GBR':
formats.append('GBR_PIL')
else:
formats.append(format_name)
if USE_GHOSTSCRIPT:
formats.append(('PDF', u''))
formats.append(('PS', u''))
formats.append('PDF')
formats.append('PS')
return formats