View Single Post
Old 02-25-2014, 07:54 AM   #676
tkeo
Connoisseur
tkeo began at the beginning.
 
Posts: 69
Karma: 10
Join Date: Feb 2014
Location: Japan
Device: Kindle PaperWhite, Kobo Aura HD
Hi DiapDealer,

Quote:
Originally Posted by DiapDealer View Post
Just out of curiosity, are you manufacturing the "linear=No" attribute for the created cover page's spine entry? Or is that something that unpacks "as is"?
I wrote "linear=No" on purpose. I thought it should be set to "No" for a cover page; from a few references:
http://blog.threepress.org/2009/11/2...-cover-images/
http://wiki.mobileread.com/wiki/Ebook_Covers
But, I am not confident so much.


Quote:
Originally Posted by DiapDealer View Post
I prefer the somewhat "standard" svg method of creating a cover page, but that's just a personal preference. Feel free to take a look at my hacked-up mobi_k8resc.py file if you're interested at all. I've added a 'borrowed' method to get the necessary dimensions of jpeg, gif, or png images (and removed the 'linear' attribute for my own selfish reasons). Don't feel any pressure to adopt my changes or anything. I don't mind adjusting the "official" codebase to suit my needs. That's how I get my practice.

Thanks for your input on the project, by the way. Much appreciated!
I am impressed by looking at the code you posted (though 'borrowed'). It's quite nice!
In oder to use svg wrapper, the size of an image is necessary; I thought it needs an extra library like PIL, (I don't hesitate to use the PIL if it was just for my private use.) To avoid using the extra library, I wrote that style.

Thanks,

Last edited by tkeo; 02-25-2014 at 08:17 AM.
tkeo is offline   Reply With Quote