Keep ratio image (.png) in SOZI presentation

Asked by Puine


I'm know doing a presention using Sozi extention in inkscape. So I put a few images in my presentation, but when I visualize the presentation with Firefox, all the images (.png) I add are deformed. Yet they are in good proportion when I open the .svg with Inkscape.. Has anybody an idea of how to fix the ratio ?


Question information

Revision history for this message
Best su_v (suv-lp) said :

This is Inkscape's fault - it does not correctly specify the value for the attribute 'preserveAspectRatio' for (non-uniformly) scaled bitmap images (or assumes a different default value if omitted than is defined in the SVG 1.1 specification), as tracked in
- Bug #616717 “Resized bitmap images are rendered differently by Firefox or Batik ('preserveAspectRatio' attribute not set)”
- Bug #461467 “Image scale saved incorrectly (preserveAspectRatio)”

Revision history for this message
Puine (bghn88) said :

Thanks ~suv, that solved my question.