View Single Post
Old 02-15-2015, 08:31 AM   #9
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,082
Karma: 315558332
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Quote:
Originally Posted by Toxaris View Post
Not a problem at all of course. You do need to adapt the numbers to match the actual image of course. If the sizes are correct, scaling will be correct even if the screen is smaller.
Quite. JSWolf is wrong here. The svg code wrap the image and renders it at full width and height of the element it's in, keeping aspect ratio. Even on devices with fewer pixels than the source image.

It's astonishing that native formatting conveniences such as this weren't added to the XHTML-like coding of ePub 2 or 3 when all sorts of specialist junk was added.
pdurrant is offline   Reply With Quote