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

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 11-04-2012, 03:52 PM   #1
Eviler
Junior Member
Eviler began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2012
Device: iPad Mini
Full sized Images

Hi all,

sorry if this question has been answered before, but I can't seem to locate it.

I am trying to generate a .epub from images in a .cbr. I've used Calibre to achieve this, but I have one problem. When I buy a comic from the Apple Store, the page is fully filled. When I convert my digital collection, I have these annoying white borders all around, as seen here:



What do I need to do to remove them and make the image fill up the entire page? I've messed around with the xhtml pages and image sizes, but without any luck.

Thanks in advance for any help!
Eviler is offline   Reply With Quote
Old 11-04-2012, 04:27 PM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,316
Karma: 4963983
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Use a different ePub reader (I mean, a different app in your iPad)...
Jellby is offline   Reply With Quote
Old 11-05-2012, 01:39 AM   #3
Eviler
Junior Member
Eviler began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2012
Device: iPad Mini
The problem is not the reader, I've tried others but they all have it. And it works perfectly on store bought books. It's just the ones I've bought in cbr and try to convert that give a problem (and I don't want to spend double money).

I think it's a problem in the xhtml of the pages, but I've tried (probably) every form of setting margin, padding, border, ... I could think of.

My question is: What do I need to do to make the images full paper size?
Eviler is offline   Reply With Quote
Old 11-05-2012, 05:18 AM   #4
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,316
Karma: 4963983
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Different readers may have different settings. Some let you change the default margins on the fly, some have fixed rather large margins you cannot change.

Then, Calibre has many settings too, some of them may be affecting the relative dimensions of the images, or how they are interpreted.

Additionally, the comics you bought may have been in "fixed layout" format, which is something contrived by Apple that as far as I know is only understood by iBooks and does not conform the ePub spec, at least not version 2.0.1 (I believe there's something about it in ePub 3, but I don't know if it's the same as Apple's).

Anyway, wouldn't it be easier to install a comic-reading app in you iPad?
Jellby is offline   Reply With Quote
Old 11-05-2012, 05:34 AM   #5
Eviler
Junior Member
Eviler began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2012
Device: iPad Mini
It probably would be easier to install a cbr reader, but when I encounter a problem, I always want to find a solution that involves actually solving the problem and not find a secondary route around it.

Is there any com.apple.ibooks.display-options.xml setting like for the full bleed?

thanks!
Eviler is offline   Reply With Quote
Old 11-05-2012, 06:12 AM   #6
Eviler
Junior Member
Eviler began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2012
Device: iPad Mini
I think I answered my own question. I'm going to try using the apple specific xml file when I get home from work. If I get it working, I'll post the solution here for future reference
Eviler is offline   Reply With Quote
Old 11-05-2012, 10:12 PM   #7
Aerys
Connoisseur
Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.
 
Aerys's Avatar
 
Posts: 51
Karma: 29994
Join Date: Nov 2011
Location: Manila, Philippines
Device: iPad 2 & Nexus 7
There is no setting in the "com.apple.ibooks.display-options.xml" that controls the display size of the images.

Code:
<?xml version="1.0" encoding="UTF-8"?>
<display_options>
<platform name="*">
<option name="specified-fonts">true</option>
<option name="interactive">true</option>
<option name="fixed-layout">true</option>
<option name="open-to-spread">true</option>
</platform>
<platform name="iphone">
<option name="orientation-lock">landscape-only</option>
</platform>
</display_options>
Display size of the images are usually controlled via CSS or inside the XHTML in the IMG tag.

iBooks usually displays images in full bleed if the actual image size is larger than the iPad's display size, IF there is no CSS controlling it.
Aerys is offline   Reply With Quote
Old 11-10-2012, 07:04 AM   #8
mzmm
Groupie
mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.
 
mzmm's Avatar
 
Posts: 163
Karma: 86115
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
pages are only rendered full bleed in ibooks with fixed layout epub 3.0s. to get the effect you're talking about, you'll need to restructure the epub so that the metadata and epub assets conform to the epub3 guidelines (see here: http://idpf.org/epub/30, usually you'll just need to update the opf and create a toc.xhtml), and create a separate page for each full bleed image. each xhtml page will require you to set viewport dimensions with the viewport meta tag, and these dimensions need to be consistent throughout the epub. this will look like

Code:
<meta name="viewport" content="width=750, height=1200" />
and you'll want to adjust the w x h to suit you. you'll also need to include the apple display options xml in the META-INF folder while supplying the appropriate values mentioned by Aerys.

i don't know of a good epub3 converter, but if you had a pdf of the books you could generate a fixed layout epub3 online with http://www.blurb.com/ or a similar service.

Quote:
Originally Posted by Jellby View Post
I believe there's something about it in ePub 3, but I don't know if it's the same as Apple's
epub3 specs supply guidelines for fixed layout, and epub3s created for ibooks pass epubcheck 3.0b4 validation. they can also be read on calibre, azardi, and using chrome's readium extension. the only apple specific contents required for ibooks are the display.options xml, which does not affect validation.

Quote:
Originally Posted by Jellby View Post
Anyway, wouldn't it be easier to install a comic-reading app in you iPad?
i think so too, but hope this helps!

Last edited by mzmm; 11-10-2012 at 07:07 AM. Reason: missing backslash
mzmm is offline   Reply With Quote
Old 11-10-2012, 12:35 PM   #9
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 65,522
Karma: 43957509
Join Date: Nov 2006
Location: UK
Device: Kindle Voyage, iPad Mini, iPhone 4, MS Surface Pro, N7
One thing to note is that, when you convert a book in Calibre, the output profile that you have selected can resize images. You should select the "Tablet" output profile to suppress image resizing.
HarryT 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
Full Sized EE for Sale (UK) mrspaceman enTourage eDGe 3 06-12-2012 10:05 AM
Trade full sized edge aeonlu enTourage eDGe 1 09-13-2011 11:37 AM
Who wants to gain a full-sized edge? daricksta08 enTourage eDGe 6 07-02-2011 07:34 PM
Next HW refresh fo full-sized Edge? HardBall enTourage Archive 44 12-01-2010 08:59 PM


All times are GMT -4. The time now is 08:38 PM.


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