Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 11-29-2024, 09:58 AM   #1
conversionerror
Member
conversionerror began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Aug 2019
Device: calibre
Epub to images (png)

HI

I cannot convert epub with fixed layout.

Therefore, I'd like to know is there is some plugin to convert into images that keep the flow of text seen in the reader?

Or maybe I could use a virtual printer? I've tried but it failed "for memory error" :

https://justpaste.it/dq2y9

Can't Calibre print batches of specific "pages" as rendered in the reader?

Thnx!

Last edited by conversionerror; 11-29-2024 at 06:22 PM.
conversionerror is offline   Reply With Quote
Old 11-29-2024, 08:25 PM   #2
Quoth
Reading till the spring
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 12,490
Karma: 94058919
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Fixed Layout epub3 are worse than PDF. My solution is to never get them.
PDFs pretty much can't be easily converted to anything else either.

Calibre is for reflowable ebooks (real ebooks) though has some PDF support.
Quoth is offline   Reply With Quote
Old 12-01-2024, 11:19 AM   #3
conversionerror
Member
conversionerror began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Aug 2019
Device: calibre
Quote:
Originally Posted by Quoth View Post
Calibre is for reflowable ebooks (real ebooks) though has some PDF support.
64-bit version (W7) won't convert, and it won't print to pdf either.

BTW, can't calibre convert to images?
conversionerror is offline   Reply With Quote
Old 12-01-2024, 03:35 PM   #4
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 6,793
Karma: 26974049
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
Quote:
Originally Posted by conversionerror View Post
HI

I cannot convert epub with fixed layout.

Therefore, I'd like to know is there is some plugin to convert into images that keep the flow of text seen in the reader?

Or maybe I could use a virtual printer? I've tried but it failed "for memory error" :

https://justpaste.it/dq2y9

Can't Calibre print batches of specific "pages" as rendered in the reader?

Thnx!
if you just want to convert to a set of images, you can screen capture the pages and make a CBZ or PDF or whatever, but what would that achieve, or let you do that you can't do with the (FXL) ePub?

In other words, what are your 'use cases'?
tomsem is offline   Reply With Quote
Old 12-01-2024, 06:01 PM   #5
conversionerror
Member
conversionerror began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Aug 2019
Device: calibre
Quote:
Originally Posted by tomsem View Post
if you just want to convert to a set of images, you can screen capture the pages
Additionally, Calibre's viewer stays in a small size regardless of any configurations of width, so I cannot screenshot page by page at that miniscule size.

Adobe Digital Editions and Calibre might allow connection to android readers: then I'd digitize it by screenshots on my phone and, finally, OCR it with Abby Finereader.

Shoud I report the issue here asap? https://bugs.launchpad.net/calibre.
❤❤❤
conversionerror is offline   Reply With Quote
Old 12-01-2024, 10:22 PM   #6
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 41,148
Karma: 158160884
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by conversionerror View Post
Additionally, Calibre's viewer stays in a small size regardless of any configurations of width, so I cannot screenshot page by page at that miniscule size.

Adobe Digital Editions and Calibre might allow connection to android readers: then I'd digitize it by screenshots on my phone and, finally, OCR it with Abby Finereader.

Shoud I report the issue here asap? https://bugs.launchpad.net/calibre.
❤❤❤
You could try Thorium reader since it does handle FLO ePubs.

As for reporting the bug? Since the creator of calibre is well aware that it does not handle fixed layout ebooks, a bug report is not going to help. Contributing code to calibre to allow handling fixed layout ebooks would be helpful.
DNSB is offline   Reply With Quote
Old 12-02-2024, 01:58 AM   #7
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 6,793
Karma: 26974049
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
Quote:
Originally Posted by conversionerror View Post
Additionally, Calibre's viewer stays in a small size regardless of any configurations of width, so I cannot screenshot page by page at that miniscule size.

Adobe Digital Editions and Calibre might allow connection to android readers: then I'd digitize it by screenshots on my phone and, finally, OCR it with Abby Finereader.

Shoud I report the issue here asap? https://bugs.launchpad.net/calibre.
❤❤❤
Well even easier than screenshots (should have mentioned this first), is to export the images using calibre's Edit Book: find Images folder in listing on left, right click and Select all Images files, then right click on the selection and Export all nnn files.

In my experience, usually the text is rendered in the images while XHTML gives position and actual text values for readers that let you select it (like Thorium reader). It is similar to PDFs in that respect, where text can be rendered with vector graphics and text objects are there to provide locations for highlights and dictionary lookup, etc.

So similar that I want to investigate writing a script to convert between FXL ePub and PDF. At least PDF is more popular and better supported, and there might be other cases where FXL ePub might be preferred.
tomsem is offline   Reply With Quote
Old 12-02-2024, 03:04 AM   #8
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 41,148
Karma: 158160884
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by tomsem View Post
Well even easier than screenshots (should have mentioned this first), is to export the images using calibre's Edit Book: find Images folder in listing on left, right click and Select all Images files, then right click on the selection and Export all nnn files.

In my experience, usually the text is rendered in the images while XHTML gives position and actual text values for readers that let you select it (like Thorium reader). It is similar to PDFs in that respect, where text can be rendered with vector graphics and text objects are there to provide locations for highlights and dictionary lookup, etc.

So similar that I want to investigate writing a script to convert between FXL ePub and PDF. At least PDF is more popular and better supported, and there might be other cases where FXL ePub might be preferred.
Sorry but you are rather wrong. A fixed layout ePub is not image based. Here's an example of the code for a single sentence from the FLO ePub:

Quote:
<div class="liw c1D7 c7" style="font-size:0;top:386px;min-width:418px;line-height:31px;z-index:292">
<span class="w c1A4 f1" style="width:63px"><span class="c1A4 c118 c c1C"> H</span><span class="c1A4 c119"><span class="c c1A4 c1F">A</span><span class="c c1A4 c16">R</span><span class="c c1A4 c163">R</span><span class="c c1A4 cD">Y </span></span></span><span class="w c1A4 f1" style="width:77px"><span class="c1A4 c118 c c33">P</span><span class="c1A4 c119"><span class="c c1A4 c32">O</span><span class="c c1A4 c1F">T</span><span class="c c1A4 c32">T</span><span class="c c1A4 c16">E</span><span class="c c1A4 cD">R </span></span></span><span class="w c116 c11A c1A4 f1 c119"><span class="c c1A4 c32">A</span><span class="c c1A4 c33">N</span><span class="c c1A4 cD">D </span></span><span class="w c11A c1A4 f1 c119" style="width:40px"><span class="c c1A4 c32">T</span><span class="c c1A4 c32">H</span><span class="c c1A4 cD">E </span></span><span class="w c1A4 f1" style="width:133px"><span class="c1A4 c118 c c33">P</span><span class="c1A4 c119"><span class="c c1A4 c32">H</span><span class="c c1A4" style="width:6px">I</span><span class="c c1A4 c2A">L</span><span class="c c1A4 c32">O</span><span class="c c1A4 c163">S</span><span class="c c1A4 c1F">O</span><span class="c c1A4 c163">P</span><span class="c c1A4 c32">H</span><span class="c c1A4 c16">E</span><span class="c c1A4 c32">R</span></span><span class="c1A4 c118 c" style="width:5px">'</span><span class="c1A4 c119 c cD">S </span></span><span class="w c1A4 f1" style="width:59px"><span class="c1A4 c118 c c32">S</span><span class="c1A4 c119"><span class="c c1A4 c1F">T</span><span class="c c1A4 c1F">O</span><span class="c c1A4 c33">N</span><span class="c c1A4 cD">E </span></span></span>
</div>
As can be seen, pretty much every bleeping letter given an absolute position on the page just to spell " HARRY POTTER AND THE PHILOSOPHER'S STONE ". This FLO ePub has 50 embedded fonts and 215 background images. Each page is rendered in a viewport that is 1216 by 1849 pixels.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2024-12-01 231230.png
Views:	19
Size:	715.4 KB
ID:	212324  

Last edited by DNSB; 12-02-2024 at 03:15 AM. Reason: Added screenshot of the page from Thorium.
DNSB is offline   Reply With Quote
Old 12-02-2024, 08:32 AM   #9
conversionerror
Member
conversionerror began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Aug 2019
Device: calibre
Quote:
Originally Posted by DNSB View Post
You could try Thorium reader since it does handle FLO ePubs.
Hi

I am on Windows 7, and apparently Thorium is only for W10 and above; any alternatives?

Can't find any info about it allowing printing options for nonDRM epubs either...

Having a portable version to test it would be awesome.

Last edited by conversionerror; 12-02-2024 at 09:33 AM.
conversionerror is offline   Reply With Quote
Old 12-02-2024, 09:27 AM   #10
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,859
Karma: 138235604
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by conversionerror View Post
Hi

I am on Windows 7, and apparently Thorium is only for W10 and above; any alternatives?

Can't find info about it allowing printing options for nonDRM epubs either...

Having a portable version to test it would be awesome.
Would your computer allow you to upgrade to Windows 10 64-bit?
JSWolf is offline   Reply With Quote
Old 12-02-2024, 01:45 PM   #11
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,071
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by conversionerror View Post
Hi

I am on Windows 7, and apparently Thorium is only for W10 and above; any alternatives?
Maybe AZARDI ==>> http://azardi.infogridpacific.com/

BR
BetterRed is offline   Reply With Quote
Old 12-02-2024, 03:00 PM   #12
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 6,793
Karma: 26974049
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
Quote:
Originally Posted by DNSB View Post
Sorry but you are rather wrong. A fixed layout ePub is not image based. Here's an example of the code for a single sentence from the FLO ePub:



As can be seen, pretty much every bleeping letter given an absolute position on the page just to spell " HARRY POTTER AND THE PHILOSOPHER'S STONE ". This FLO ePub has 50 embedded fonts and 215 background images. Each page is rendered in a viewport that is 1216 by 1849 pixels.
That's very much what I'm seeing. Perhaps I didn't explain it well enough.

Last edited by tomsem; 12-02-2024 at 03:10 PM.
tomsem is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
compress_news_images and png images? snarkophilus Recipes 5 11-05-2024 04:02 PM
PNG images lost in conversion Sarmat89 Conversion 7 08-21-2020 06:24 PM
Converting pdf to png images roger64 Workshop 8 09-06-2019 06:58 PM
How to replace PNG images by SVG in epub? j.p.s ePub 38 08-12-2017 05:27 AM
PNG Images in ePUB Files not rendered on Kobo DragonflyKing ePub 12 10-12-2013 09:28 PM


All times are GMT -4. The time now is 06:16 AM.


MobileRead.com is a privately owned, operated and funded community.