Edit: in case anyone wants an example, here's the conversion of tesla-model-s.pdf[0]:
https://secureview.cloudbrowser.xyz/uploads/filekat9.v05lnle...
[0]: https://www.tesla.com/sites/default/files/tesla-model-s.pdf
Edit: in case anyone wants an example, here's the conversion of tesla-model-s.pdf[0]:
https://secureview.cloudbrowser.xyz/uploads/filekat9.v05lnle...
[0]: https://www.tesla.com/sites/default/files/tesla-model-s.pdf
Here's that Tesla example link again:
https://secureview.cloudbrowser.xyz/uploads/file5rc5.9nhts2j...
Here's that Tesla link (I'm making it permanent now):
https://secureview.cloudbrowser.xyz/uploads/filecp9z.ohbtt6u...
(At the possible cost of top-end scale; improving response to normal workload significantly and hurting the top workload reachable somewhat).
edit: I like the dot ¯\_(ツ)_/¯
Disclaimer: I work for Google Cloud.
It should be too much tho, perhaps just making an install_deps.sh script alternative to use apt, and writing a Dockerfile.
You're welcome to submit a PR but I might get to it first.
Edit: I just made some changes relating to this, including a Dockerfile. I have not tested in Docker, but it now works on Nix (Debian)
The `convert` script of ImageMagick calls soffice by default if the input file is a LibreOffice type.
I actually started writing a shell script to detect if it was DOCX etc, and run soffice first, but then I found out that ImageMagick does that automatically, if libreoffice is installed.
Be interesting to see how your demo site holds up under HN front page traffic - I know Imagemagic is used a lot for random web sites, but I worry about scale a lot. Any info would be useful!
Input looks a bit weird, for example,
https://secureview.cloudbrowser.xyz/uploads/file1tda.4paa65d...
Which is from:
https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/AJ_Dig...