View Single Post
Old 08-08-2017, 12:46 PM   #17
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 696
Karma: 150000
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by st_albert View Post
BTW, the book in question was published in 2011, when IIRC there was no kf8 format in production yet. In the epub, the images were coded like so:

Code:
<p class="center"><img alt="images/image002.jpg" src="../Images/image002.jpg" style="width:77%"/></p>
and were tweaked in the epub, then converted with kindlegen (cmd line version, not the previewer), and tested on a real-world K3 (which hadn't been upgraded for kf8).
For completeness, I dug around in the "book.html" file within the mobi7 formatted .mobi, and the above line is coded thusly (HTML 3.0, I think):

Code:
<p height="0" align="center"> <img alt="images/image002.jpg" src="Images/image00019.jpeg"/> </p>
so it seems to have simply ignored the "width:77%" directive in the original epub.

Also, though I claimed that the mobi7 file had the same "look and feel" in all of the e-ink emulators, that wasn't precisely true. There were variations in the font sizes relative to the image sizes, and possibly other small variations. They were still readable however.

Albert

who has now concluded" "Mobi7 delenda est."
st_albert is offline   Reply With Quote