How to convert ODT files to PDF in Heroku? - heroku

Him
I'm using odf-reports gem (https://github.com/sandrods/odf-report) to populate an odt template I have. But then I want to convert it to PDF.
They advise to use libreoffice to do the conversion, and that works locally, but I want to use it in Heroku.
Anyone know how can I do this conversion on heroku?
Thank you

Related

Convert xls-fo to Docx

I'm looking for a framework, code or somethingelse, to convert a xsl-fo file to docx.
Currently i'm working on an converter, but i can't belive that's no code for these problem will be exists.
My search results shows only code for the generation of pdf or rtf from xsl-fo.
Docx4j seems, that these framework can do this convert.
Thank you very much in advance for your help

Laravel - Thumbnail Generator Installation

I have a Laravel project that needs files like docx, xlsx, pptx, and pdf to generate a thumbnail. I can't see any tutorials that may be helpful enough for a beginner like me.
Sorry! the package you are referring to is a python library.

rhotoalbum for ruby on rails

Anyone knows about Rhotoalbum : http://rhotoalbum.rubyforge.org/ . This gallery examples looks very good, but in the website isn't good information how to add this gallery to my ruby on rails project. I am beginner in ruby on rails, so could someone help or point to good information source? By the way I am using ruby on rails 3.2.1.
Thank you very much.
I would probably run Rhotoalbum locally, then store your pictures in public/pictures directory. Then run Rhotoalbum to create the thumbnails and such. Add them to your Rails project with Git, then the next time you deploy your Rails app, it will have the pictures available at http://hostname.com/pictures/

Need to convert .ico files to .png with Ruby — any hidden Gems I'm not seeing in Google?

We currently have a PHP script doing this, but it fails constantly, so I'm looking for a solution in Ruby. Basically we are collecting favicons and need to convert any that are in the .ico format into a .png format.
Please do not provide links to any hosted services to do this... we've probably already tried them all and abandoned them (this includes Google and Yahoo) ;)
Use ImageMagick or GraphicsMagick, both available as PHP modules (and very similar); in Ruby use the RMagick interface.
Try one of the Ruby interfaces to ImageMagick.

Local image to text converter script

I'm looking something that will convert an image to text art, similar to this website but instead something I can install locally and use in scripts (or build into a fun app).
I've tried searching for one but all I get is a multitude of online versions.
Try AALib
Or, Caca lib

Resources