View Single Post
Old 12-04-2009, 12:25 AM   #12
macr0t0r
Connoisseur
macr0t0r doesn't littermacr0t0r doesn't litter
 
macr0t0r's Avatar
 
Posts: 91
Karma: 108
Join Date: Jan 2008
Device: Palm Treo 680, Sony Reader
Quote:
Originally Posted by user_none View Post
In every case I've seen (I will have to make sure calibre conforms) the cover.png is the first image if there is a cover.png. It should be less processing power than extracting the image from a PMLZ archive.
Yah, I looked into this. Sadly, that's not the case. Most eReader books put the Cover as the first page, but many don't. In most of the Terry Pratchett books, the cover.png is the second file because they have the Publisher image on top.

You'll have to loop until you match "cover.png."

Will you be adding cover metadata support to *.pmlz as I've shown, or do I need to get off my lazy butt and submit through bazarr? Granted, I need to tidy it up a bit and add the "extract_cover" condition.

- Jim
macr0t0r is offline   Reply With Quote