

In short, the conversion tool only uses Qt for image manipulation operations. usr/lib/calibre/calibre/ebooks/conversion/plugins/mobi_output.py Basically, I removed Qt imports and fixed the remaining errors in the scripts by making those functions empty (or throw an exception) in these 2 files (in my case): /usr/lib/calibre/calibre/utils/img.py The last part was the most painful, since it involved modifying some of the python util scripts, which use Qt (which then requires some X11 libs) for image manipulation and we want to avoid that on a server/headless machine. I also had to specify a command line option -mobi-keep-original-images, since I wanted to convert epub to mobi format using: ebook-convert ~/test.epub ~/test.mobi -mobi-keep-original-images Installing some missing python modules (which you figure out by running the convert command ebook-convert inputfile outputfile), in my case: python3-msgpack


The steps involved extracting these directories from the calibre package (deb, rpm, whatever): /usr/bin/ebook-convert

Don't put anything in the body either.I've managed to cut out ebook-convert from Calibre (which, for who knows what reasons, requires Qt for image manipulation) and got a command-line only interface for it, to be able to use the tool on a headless/server machine. In the subject line, write "Convert" and nothing more.Address the email to your Kindle email.From your smartphone or PC, compose a new email and attach the PDF file you wish to send to your Kindle.If you're unsure, follow the steps in this guide to obtain the Kindle email address and come back here. Your Kindle email is different than the email address associated with your Amazon account. Here's how to do it.īefore we begin, you'll need to find out your Kindle email address to which you'll send your PDF file. You just email your PDF file to Amazon, and it does the heavy lifting, converting your file into EPUB format and then automatically sending it to your Kindle device and your digital library. The easiest and fastest way to convert a PDF to an ebook format that your Kindle can understand is using Amazon's Send to Kindle service. The easiest way: Use Amazon's Send to Kindle service Let us walk you through the best options and tools to get the job done. You can have Amazon convert it for you or get the help of third-party apps or online tools. When it comes to converting PDFs to ebooks, you have multiple options at your hand.
