##// END OF EJS Templates
Added 'jpeg' key
Jonathan Frederic -
Show More
@@ -63,7 +63,7 b' class ExtractFigureTransformer(ConfigurableTransformer):'
63 63 data = out[out_type]
64 64
65 65 #Binary files are base64-encoded, SVG is already XML
66 if out_type in ('png', 'jpg', 'pdf'):
66 if out_type in ('png', 'jpg', 'jpeg', 'pdf'):
67 67 data = data.decode('base64')
68 68 elif sys.platform == 'win32':
69 69 data = data.replace('\n', '\r\n').encode("UTF-8")
General Comments 0
You need to be logged in to leave comments. Login now