I would like to compress PDF files in my Node.JS application which will be generated by electron. I tried to compress these files with Ghostscript which worked fine btw but I cannot use this commercially without paying for it.
Is there any good command line based solution alternative free for commercially use?
PS: I already tried compressing with LibreOffice Draw, but this cant handle included fonts :/
/usr/share/doc/ghostscript/copyrightit's licensed with a combination of AGPL v3, BSD 3-clause, GPL v2, GPL v3, LGPL v2.1 and Apache 2.0 all of which allow you to use it on a web server for any purpose free of charge (as long as you publish any changes that you make to the code base in the case of AGPL). I'd vote to close as unclear if that were possible with the open bounty. – David Foerster Aug 09 '17 at 13:46