Quote:
Originally Posted by kovidgoyal
Just use <img style="height:100%"/> (see an EPUB file produced by a recent version of calibre for an example) for full screen images without svg. Using svg will cause scaling distortions for cover images that have an aspect ratio different from the viewing screen aspect ratio. Frankly, I'm amazed Adobe recommends scaling raster images via SVG
|
Great, I was using an image but someone suggested wrapping it in SVG
According to the
SVG specification, there should be no distortion in the images if preserveAspectRatio="xMidYMid meet" (which is the default).
PS. The inline "style" you suggested is said to be deprecated, or discouraged, or whatever...