wrong default value for image preserveAspectRatio

Bug #924377 reported by Hadmut Danisch on 2012-01-31
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Inkscape
High
Unassigned

Bug Description

Hi,

if an image object has a width/height ratio other than the image it consists and the attribute preserveAspectRatio is missing, inkscape uses a wrong default value.

The Specs say (see http://www.w3.org/TR/SVG11/struct.html#ImageElement )

„If attribute ‘preserveAspectRatio’ is not specified, then the effect is as if a value of xMidYMid meet were specified. ”

but inkscape behaves as if 'none' was specified, i.e. it scales the image into the viewport and breaks the images aspect ratio.

regards

su_v (suv-lp) wrote :

Duplicate of (or related to)
Bug #461467 in Inkscape: “Image scale saved incorrectly”
<https://bugs.launchpad.net/inkscape/+bug/461467>

See also:
Bug #616717 “Resized bitmap images are rendered differently by Firefox or Batik ('preserveAspectRatio' attribute not set)”
<https://bugs.launchpad.net/inkscape/+bug/616717>

tags: added: bitmap svg transformations
Changed in inkscape:
status: New → Confirmed
status: Confirmed → New
su_v (suv-lp) wrote :

Setting bug importance to 'High' in accordance with
<http://wiki.inkscape.org/wiki/index.php/Bug_management#Bug_importance>:
"SVG-compliant documents misinterpreted"

Changed in inkscape:
importance: Undecided → High
status: New → Confirmed
fabb (milkservice) on 2013-04-12
no longer affects: ubuntu
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers