09-02-2021, 05:47 AM | #1 |
Connoisseur
Posts: 50
Karma: 10
Join Date: Oct 2018
Device: kindle
|
html to pdf remote images
I want to convert a html file to pdf, but remote images can't be downloaded. I got the error: Blocking URL request with scheme: https. After searching , I found this post:https://www.mobileread.com/forums/sh...d.php?t=330147.
I'm wondering why this feature is disabled now as it worked in calibre 3. actually I think it is a must-needed feature. I highly recommed to download remote images when convering a local html to pdf. |
09-02-2021, 07:39 AM | #2 |
the rook, bossing Never.
Posts: 11,091
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Don't have remote images in the local html. An oxymoron.
Fix the HTML. There are a number of ways. Remote images in a local HTML file is a recipe for disaster. One way is to open the file in a browser copy & paste the contents to a wordprocessor. Fix styles, headings etc and save in native WP format. That SHOULD make the images local. Do a final extra save as in PDF format. LO Writer is better for HTML to PDF, and some versions of MS Word too. Some Word versions need a PDF plugin, though I used to use a logical printer on Windows that made a PDF. You could "print" any number of pages from any variety of programs and then finally create the PDF file. |
09-02-2021, 11:55 AM | #3 |
creator of calibre
Posts: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That it worked in calibre 3 was an accident. Conversion is not going to load remote resources. Use a tool like wget to load remote resources and then convert.
|
09-02-2021, 02:21 PM | #4 | |
the rook, bossing Never.
Posts: 11,091
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Quote:
I agree that Conversion shouldn't load remote resources. |
|
Tags |
images, pdf |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
convert html to mobi with remote img | Trigun | Conversion | 15 | 01-31-2017 01:47 AM |
pdf (with images) to html to ePub (mac) | ernest | Conversion | 3 | 11-12-2012 06:25 PM |
feature request for ebook-convert: fetch remote images | bpeters | Calibre | 1 | 06-16-2010 11:13 AM |
html images with src pointing to remote http address | bpeters | Calibre | 1 | 03-15-2010 07:43 PM |