![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,791
Karma: 30548723
Join Date: Dec 2006
Location: Singapore
Device: Boyue
|
Blank spaces on the side of cover when importing from epubs
when I add epubs to my library the cover files have white spaces on the sides.
But when I look inside the epub themselves the cover.jpg does not have white space. Is their a way that calibre would import the cover.jpg directly instead of making a new file with white space on the sides. The same white space is also their when I read the epub in my v3 Hanlin. |
![]() |
![]() |
![]() |
#2 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
Occasionally the cover downloaded via Amazon or Google would come with white spaces that were used on the web site. I would always change to an image that didn't have these added spaces. Calibre doesn't add anything to the cover image. Calibre does add a attribute that ensures the cover has 100% height when added to the epub. If the aspect ratio of the cover image doesn't match your reader then it is possible for it to look like there are white spaces on the sides. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,791
Karma: 30548723
Join Date: Dec 2006
Location: Singapore
Device: Boyue
|
Try importing one of the epubs back into the library. now the ebook you have added would have white spaces at the side of the cover. When you use the cover browser.
I am not talking about converting. I am talking about importing. I lost my calibre database now I am remaking my library so am adding all the epubs I made with calibre back into the library and all the the epubs I import have white spaces in the cover files. I don't know scripting or I could have made a script to update cover.jpg in each calibre ebook folder with the cover.jpg inside the epub if anyone can help me do that I would be grateful |
![]() |
![]() |
![]() |
#4 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 295
Karma: 109308
Join Date: Dec 2009
Location: NSW Australia
Device: nook touch a Nook 3g (rooted) and a nookcolor (rooted)
|
This was discussed just the other day in another post have a read of my answer there..
https://www.mobileread.com/forums/showthread.php?t=72902 |
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,791
Karma: 30548723
Join Date: Dec 2006
Location: Singapore
Device: Boyue
|
I know I can take a cover file and put it into the folder will update but I dont want to do that for a few hundred books.
The cover files inside the epub dont have white spaces I just dont understand why calibre has to add them while importing. It can just get the cover images as they are instead of how they look inside the epub. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,194
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
This is a limitation of the epub format. It insists on having a cover embedded in a html file. When converting this cover, to an image, you will get either white boders or a distorted image if the aspect ratio of the image is different from that of the viewer used to render the title page.
I've added a workaround for the next release that will detect calibre created title pages and extract the cover from them, so you at least wont have this problem with calibre created epubs. |
![]() |
![]() |
![]() |
#7 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,791
Karma: 30548723
Join Date: Dec 2006
Location: Singapore
Device: Boyue
|
Quote:
![]() I will wait for the update before adding calibre created epubs back into my library. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Side-loading of epubs on Kobo App | shiffy | Apple Devices | 2 | 08-20-2010 11:37 PM |
Sigil shows a blank document when importing valid HTML | walter2 | Sigil | 15 | 03-25-2010 07:17 AM |
Importing EPUBs | jimyboyle | Sony Reader | 5 | 01-17-2010 07:54 AM |
Missing blank spaces in ToC | richough3 | ePub | 3 | 09-10-2009 05:33 PM |
Calibre not importing cover | mazzeltjes | Calibre | 5 | 01-23-2009 10:22 PM |