CenterForOpenScience / pydocx

An extendable docx file format parser and converter
Other
186 stars 55 forks source link

3rd party mixin: Automatically upload images to S3 instead of returning Data URIs #174

Open jhubert opened 9 years ago

jhubert commented 9 years ago

The files that I deal with have a lot of images in them and they cause the resulting html file to be huge. To solve this, I've hired someone to build a mixin that automatically uploads the files to an S3 bucket and returns the URLs.

You can check it out here: https://github.com/jhubert/pydocx-s3-images

Thoughts, feedback, pull-requests, etc always appreciated. :rocket:

IuryAlves commented 8 years ago

I've been using some similar logic to convert wmf/emf images to png. Does s3 can upload multiple files? Send multiple files at once may increase the speed from pydocx.