View Single Post
Old 09-05-2008, 05:17 AM   #27
Hadrien
Feedbooks.com Co-Founder
Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.
 
Hadrien's Avatar
 
Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
Quote:
Originally Posted by wallcraft View Post
All the tasters use the following for cover images:
Code:
	<svg:svg viewBox="0 0 751 1157">
		<svg:image xlink:href="images/cover.jpg" transform="translate(0 0)" width="751" height="1157" />
	</svg:svg>
Note that "svg:" is a CSS entry, but this is a SVG (Scalable Vector Graphics) construct and is Adobe's recommended way to treat full-cover images. It does not display at all in Windows MobiPocket Reader and FBReader, since neither supports SVG. If all the above is replaced by standard HTML, everyone is happy:
Code:
		<img src="images/cover.jpg" width="751" height="1157" />
Penguin is only supporting ADE, so following Adobe guidelines is reasonable, but this does illustrate that format shifting from ePub to earlier formats isn't going to be trivial. In particular, it will require SVG to image translation.
I would rather link directly to the cover in the OPF file if we could, but the current limitations doesn't allow this, you can only list OPS Documents in the guide, not OPS Core Formats.
The need for a XML flow and all this viewbox non-sense, should be discussed at the IDPF asap.
Hadrien is offline   Reply With Quote