aboutsummaryrefslogtreecommitdiffstats
path: root/extlib/pdf.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2013-03-27 12:21:10 +0200
committerAlon Levy <alon@pobox.com>2013-04-15 09:51:21 +0300
commita80ebf3b64dce807d84ab3993984c211f55b47db (patch)
tree2e8eaebf18414ee511c0dc476a2be8d78253e46f /extlib/pdf.js
parent3cadb4a6cd1d5cfdef8712d00e4594345a15b4a7 (diff)
downloadmediagoblin-a80ebf3b64dce807d84ab3993984c211f55b47db.tar.lz
mediagoblin-a80ebf3b64dce807d84ab3993984c211f55b47db.tar.xz
mediagoblin-a80ebf3b64dce807d84ab3993984c211f55b47db.zip
add pdf media type
The new media type supports pdf and a subset of media recognized by libreoffice via unoconv. Every document added goes through: * conversion to pdf with unoconv if not already a pdf * creation of thumbnail and medium sized image, and pdfinfo generates some information (even for unoconv produces docs - should fix this) Poppler (pdftocairo, pdfinfo) is used. http://poppler.freedesktop.org/ A working but uglified pdf.js integration exists, which is enabled by setting pdf.pdf_js=true mediagoblin_local.ini (disabled in mediagoblin.ini) Adds one test to the test_submission test suite, and another separate test_pdf suite. The tests are only run if media_types.pdf.processing.check_prerequisites passes, so the test suite will not require any extra package. TODO: make test suite say 'skipped' in that case instead of just 'ok' Signed-off-by: Alon Levy <alon@pobox.com>
Diffstat (limited to 'extlib/pdf.js')
m---------extlib/pdf.js0
1 files changed, 0 insertions, 0 deletions
diff --git a/extlib/pdf.js b/extlib/pdf.js
new file mode 160000
+Subproject b898935eb04fa86e0911fdfa0d41828cb04802f