Keep ratio image (.png) in SOZI presentation

Asked by Puine

Hi,

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 ?

Thanks,
Puine

Question information

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

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)”
  <https://bugs.launchpad.net/inkscape/+bug/616717>
- Bug #461467 “Image scale saved incorrectly (preserveAspectRatio)”
  <https://bugs.launchpad.net/inkscape/+bug/461467>

Revision history for this message
Puine (bghn88) said :
#2

Thanks ~suv, that solved my question.