![]() |
#436 |
Junior Member
![]() Posts: 6
Karma: 14
Join Date: Mar 2009
Device: Kindle 2
|
Just used Calibre to convert an HTML book to epub to view in Stanza on my iPhone. All worked great. One issue: While the EPUB is properly broken up into chapters, I don't see any chapters in the list of chapters on the iPhone.
I'll try to explain better: When I'm in a section of the book in Stanza it says that it's an 'Untitled Chapter' consisting of (for example) 17 pages. When I get to the end of the section it loads the next chapter properly. The problem is when I click the little book icon to see my bookmarks and chapters, there are no chapters in the chapters section. Is this a known issue or am I just doing something wrong? Thanks, Bill |
![]() |
![]() |
![]() |
#437 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,379
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If you open the book in calibre (click the view button) and then click the table of contents button in the viewer, does it show a list of chapters?
|
![]() |
![]() |
Advert | |
|
![]() |
#438 |
Junior Member
![]() Posts: 6
Karma: 14
Join Date: Mar 2009
Device: Kindle 2
|
No.. that button is greyed out. Weird that Stanza seems to see the chapter breaks though, huh?
|
![]() |
![]() |
![]() |
#439 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,379
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Ah well you need to have a Table of Contents. You will have to play with the automatic Table of Contents creation options to get it to work
|
![]() |
![]() |
![]() |
#440 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
|
What exactly does option --profile do? I kind of hoped it would optimize (resize, convert to grayscale) images to device's dimensions, but that's apparently not the case.
|
![]() |
![]() |
Advert | |
|
![]() |
#441 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,379
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I am of the opinion that optimizing images for a device is not worth it, since it renders the ebook sub-optimal for future devices, for only a small gain. Of course for image centric publications like comics, calibre does optimize the images.
profile is used for making device specific changes to the EPUB without which the EPUB would not work on the device. The primary reason for this is that Adobe went and designed their own HTML rendering engine, which has a lot of quirks, so devices using ADE have quirky support for EPUB. |
![]() |
![]() |
![]() |
#442 | ||
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#443 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,379
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
What reader is this? The 505? And its refusing to display images larger than the screen size? In my experience it rescales those images just fine.
|
![]() |
![]() |
![]() |
#444 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
|
I experience two behaviors with 505 and large images:
1) If the images are sufficiently large (e.g. 3100*5000), they are not displayed at all. That is, there is no image, but the reader takes a long time to render this "no image". 2) If the images are smaller but still large enough (e.g. 1100*1500), they are clipped, not resized. |
![]() |
![]() |
![]() |
#445 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,379
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
OK if you can figure out threshold above which images are clipped, I'll add that to the SONY profile and have calibre resize images above that threshold.
|
![]() |
![]() |
![]() |
#446 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
|
Will do.
|
![]() |
![]() |
![]() |
#447 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
|
PRS-505, firmware build 18040.
test.htm: Code:
<?xml version="1.0" encoding="windows-1250"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=windows-1250" /> <title>Test</title> </head> <body> <div class="image"><img src="obr1.jpg" alt="" /></div><hr /> <div class="image"><img src="obr2.jpg" alt="" /></div><hr /> <div class="image"><img src="obr3.jpg" alt="" /></div><hr /> <div class="image"><img src="obr4.jpg" alt="" /></div><hr /> <div class="image"><img src="obr5.jpg" alt="" /></div><hr /> </body> </html> command line: Code:
any2epub test.htm As far as rendering is concerned: - Images 1, 2 and 3 are displayed as empty space approximately 170 pixels high - Image 4 is displayed cropped to a section from (0, 0) (left, top) to approximately (570, 750) (right, bottom) - Image 5 is cropped vertically also to about 750 pixels; horizontally, it fits My conclusion: 1) Very large images are not displayed at all 2) Images larger than screen resolution of the Reader are cropped to fit, not stretched I can, if you like, try to find the exact dimensions when a picture stops being shown, but considering #2, it seems pointless - if it is too large, it will get cropped (and become unusable) anyway. If the --profile=prs505 is used, the images that are larger than about 600x750 should be resized to this resolution while keeping aspect ratio. Smaller pictures should be left alone. If possible, this behavior should be used for all pictures - embedded AND cover. |
![]() |
![]() |
![]() |
#448 | |
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#449 | |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,379
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
![]() |
![]() |
![]() |
#450 | |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Quote:
Does any ePub reader automatically rescale images? This seems to be yet another hole in the ePub specs. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old Thread] Epub Output: Line Height | greenapple | Conversion | 20 | 01-27-2013 09:27 AM |
EPUB output justification | toki08 | Calibre | 10 | 01-08-2011 04:14 PM |
Calibre epub output details and Nook | squidward | Calibre | 6 | 11-24-2010 03:21 PM |
epub output metadata | troymc | Calibre | 5 | 05-22-2010 12:23 AM |
Problem with epub output in Cybook Gen3 | fjf | Calibre | 3 | 02-03-2010 02:23 AM |