Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-22-2020, 11:40 AM   #1
badbob001
Fanatic
badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.
 
badbob001's Avatar
 
Posts: 556
Karma: 1102020
Join Date: Sep 2009
Device: Kindle Keyboard (rip), Kindle Voyage, Fire Tablet 10 '17, iPad '19
ipad/safari: White blocks over graphic novel

When viewing a specific azw3-sourced graphic novel on ipad/safari, there are white rectangles covering each page. My guess is that the white rectangles indicate clickable panels to show a close-up of that panel. What can be done to get those books to be readable? Looking at the same book from chrome/windows doesn't show the rectangles nor are the panels clickable.
badbob001 is offline   Reply With Quote
Old 07-22-2020, 11:49 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No clue, try converting it to a PDF sized for you phone screen.
kovidgoyal is offline   Reply With Quote
Old 07-22-2020, 12:25 PM   #3
badbob001
Fanatic
badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.
 
badbob001's Avatar
 
Posts: 556
Karma: 1102020
Join Date: Sep 2009
Device: Kindle Keyboard (rip), Kindle Voyage, Fire Tablet 10 '17, iPad '19
Quote:
Originally Posted by kovidgoyal View Post
No clue, try converting it to a PDF sized for you phone screen.
It's unclear what the server does when it transfers content to be viewable by the target browser. I guess it must know what device is connected based on maybe user agent? If I pre-create a pdf version, that will influence which source version the server will use for converting to the browser view?

Nothing I can do to prevent the content server from trying to convert the "Panel View" feature of the source book?

Last edited by badbob001; 07-22-2020 at 12:29 PM.
badbob001 is offline   Reply With Quote
Old 07-22-2020, 12:47 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The content server does not do any conversion unless you ask it to, via the conversion button. And you should view the resulting PDF in the devices native PDF viewer, not the calibre browser viewer.
kovidgoyal is offline   Reply With Quote
Old 07-22-2020, 12:56 PM   #5
badbob001
Fanatic
badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.
 
badbob001's Avatar
 
Posts: 556
Karma: 1102020
Join Date: Sep 2009
Device: Kindle Keyboard (rip), Kindle Voyage, Fire Tablet 10 '17, iPad '19
Quote:
Originally Posted by kovidgoyal View Post
The content server does not do any conversion unless you ask it to, via the conversion button. And you should view the resulting PDF in the devices native PDF viewer, not the calibre browser viewer.
I don't mean conversion in the sense that a new format is stored on the library. The content server must be creating a temporary version that is viewable by the target browser. I guess it would be similar to how viewing from the gui temporarily renders the book to be usable by the calibre e-book viewer app. I can't seem to find a way to influence this temporary conversion.

From the gui e-book viewer, the panels are not clickable but every other page is white, which may be another symptom of the book's panel view format.

Last edited by badbob001; 07-22-2020 at 02:21 PM.
badbob001 is offline   Reply With Quote
Old 07-22-2020, 01:24 PM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There is nothing to influence there. Its not a conversion but an extraction of the input documents contents in HTML form.
kovidgoyal is offline   Reply With Quote
Old 07-22-2020, 01:25 PM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If you dont want to go the PDF route, then use the unpack book tool in calibre to extract all the images from the book, then zip them up into a CBZ file and view that, it wont have any of these artifacts.
kovidgoyal is offline   Reply With Quote
Old 07-26-2020, 07:29 PM   #8
badbob001
Fanatic
badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.
 
badbob001's Avatar
 
Posts: 556
Karma: 1102020
Join Date: Sep 2009
Device: Kindle Keyboard (rip), Kindle Voyage, Fire Tablet 10 '17, iPad '19
Quote:
Originally Posted by kovidgoyal View Post
There is nothing to influence there. Its not a conversion but an extraction of the input documents contents in HTML form.
I'm still confused. "Extraction" sound like you just "unzip" the ebook and lets the viewer see that content raw. But then you say "in HTML form", which implies that the content is either converted to HTML or at least re-wrapped within HTML.

There must be more to the viewer than just viewing the raw ebook content (which is usually based on HTML anyway). The viewer can control how many pages to show on screen. Depending on the browser used, the viewer may show "Loading next section". The viewer seems to recognize which browsers support full screen or not. I want to know if there is a way to manually determine or override some of these automatic settings? Since you don't directly test with ios anymore, perhaps some of these settings don't work as reliably anymore?
badbob001 is offline   Reply With Quote
Old 07-27-2020, 01:39 AM   #9
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Most ebook formats are html internally, so the viewer just extracts that html. And of course there is more to the viewer than just extracting the HTML. The point I was making was that your white blocks issue is unlikely to be caused by the extract html step. If you want to experiment further you will need to run calibre from source, which is very easy, https://manual.calibre-ebook.com/develop.html

The viewer code is mostly in src/pyj/read_book and src/calibre/srv/render_book
kovidgoyal is offline   Reply With Quote
Old 08-09-2020, 12:34 AM   #10
badbob001
Fanatic
badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.badbob001 ought to be getting tired of karma fortunes by now.
 
badbob001's Avatar
 
Posts: 556
Karma: 1102020
Join Date: Sep 2009
Device: Kindle Keyboard (rip), Kindle Voyage, Fire Tablet 10 '17, iPad '19
I finally figured out why the white blocks appear for some viewers and not others. The panel views are normally clear but if I override the page's colors, the blocks will match the override color!
badbob001 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ipad safari: how to do get back to fullscreen? badbob001 Server 10 07-22-2020 02:09 PM
iPad iPad Air Safari alternatives MeSue Apple Devices 10 12-31-2013 12:42 PM
Safari Books Online on iPad ... Anyone? jocampo Apple Devices 16 07-15-2011 04:35 PM


All times are GMT -4. The time now is 04:40 PM.


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