View Single Post
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
https://www.mobileread.com/forums/sho...d.php?t=100922
https://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