Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-06-2015, 06:18 AM   #1
epilandrus
Junior Member
epilandrus began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2015
Device: Kindle
How to avoid adding borders to images and headings when importing to library

Calibre adds borders to images and headings when importing to library.
How to avoid it, since I don't need any extra elements on the pages?

Original file:


Imported to Calibre library:

epilandrus is offline   Reply With Quote
Old 03-06-2015, 06:38 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: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre does not modify a file in any way while importing it. Open the imported file with fbreader and you will get the same rendering as before. What you are seeing is the difference in rendering for fb2 files between fbreader and calibre's viewer.
kovidgoyal is offline   Reply With Quote
Advert
Old 03-06-2015, 07:12 AM   #3
epilandrus
Junior Member
epilandrus began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2015
Device: Kindle
Thank you for reply!
You're right.
But when converting file to epub it adds tag <border="1"> то images.
It also adds style sheet classes .calibre2 and .calibre7 with background and border to the headings – I can edit in in Calibre editor.
Is there way to avoid adding this tag and style sheet classes?

If Calibre do not adds this tag, is there any way to remove it quickly? I did it manually with editor.
I'm using IOS and mac os iBooks readers – they both render borders etc. It seems, that some reader (including Kindle touch, wich I have also) ignore for some reasons some tags...


Last edited by epilandrus; 03-06-2015 at 07:50 AM.
epilandrus is offline   Reply With Quote
Old 03-06-2015, 09:45 AM   #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: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You can modify fb2.xsl in the calibre installation to make whatever changes you like in processing fb2 files.
kovidgoyal is offline   Reply With Quote
Old 03-06-2015, 10:31 AM   #5
epilandrus
Junior Member
epilandrus began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2015
Device: Kindle
Tanks a lot for your patience!
I've changed that xml and it worked!
After conversion there are no frames and gray backgrounds.
Thanks a lot!
epilandrus is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Glo Is there any way to avoid bootloops on adding comics (CBR/CBZ)? Stremon Kobo Reader 14 05-22-2022 09:18 AM
Smashwords formatting issues with headings, TOC and images amoroso Writers' Corner 9 06-01-2012 04:59 PM
How to avoid whits space when displaying images? huebi ePub 3 05-16-2012 01:53 PM
Cover images dissappeared after adding some books from my Calibre library fictionaddiction Kobo Reader 8 06-23-2011 10:42 AM
Importing multiple images pedgarcia Sigil 5 10-28-2009 12:38 PM


All times are GMT -4. The time now is 09:10 PM.


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