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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 04-17-2011, 12:32 PM   #1
Tantaly
Junior Member
Tantaly began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Apr 2011
Device: iPad
Unmodified Cover Versions

after reading
http://www.mobileread.com/forums/sho...d.php?t=100922
http://www.mobileread.com/forums/showthread.php?t=68188

I wondered if there are any addons that allow covers to be saved "untainted" because:
  • every import (ex: from an exported folder) seems to recompress covers
  • import via metadata editing recompresses too
Is there an addon / plugin that prevents that ?
(i think Quality Check isnt that useful for covers because of that recompression mentioned above)

the source code apparently always recompresses and thereby reduces image quality via src/calibre/ebooks/metadata/sources/covers.py
Code:
def save_cover_data_to(data, path, bgcolor='#ffffff', resize_to=None,
        return_data=False, compression_quality=90, minify_to=None)
Shouldn't covers that are mentioned in metadata files be left untouched (copied instead of reprocessed)? Especially if I reimport from a folder with a .opf file ?
(Maybe implement lossless image covers via png or lossless jpeg?)

PS: i can only think of 2 "insurances" against that tainting so far
- have "good" (untouched) cover scans in a separate folder at hand/as backup
- integrated high quality covers in epub etc. format
Tantaly is offline   Reply With Quote
Old 04-17-2011, 12:56 PM   #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: 25,253
Karma: 4961457
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No, the source code does not recompress, unless the image was actually changed. Read it more carefully.
kovidgoyal is offline   Reply With Quote
Reply

Tags
compression, cover, image, tainting

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Old versions of calibre secristrc Calibre 13 07-20-2013 09:27 PM
Confused About Versions GlenR Calibre 3 02-08-2011 03:31 PM
Versions of an Ebook? kpfeifle General Discussions 9 09-22-2010 12:01 PM
K1 vs K2 anyone have both versions? tapar Amazon Kindle 12 12-26-2009 07:47 AM
Sur Amazon, des versions électroniques plus chères que les versions papier IreneDelse Amazon Kindle 8 08-29-2008 08:35 AM


All times are GMT -4. The time now is 05:19 AM.


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