rescaling width of inline image causes height to rescale as well

Bug #1660236 reported by bcrowell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

The attached file used to be displayed properly, but is displayed incorrectly in Inkscape 0.91. There are four images of jupiter, all of which are encoded inline in the svg -- they're not links to external files. The two on the right are supposed to be at 50% width, like the drawings of the planet earth. They're shown at 50% height as well, which is incorrect.

When I attempt to horizontally resize one of the images by hand, using the mouse, it looks right while I'm holding down the mouse button, but as soon as I release the mouse button the vertical dimension shrinks as well.

If I use the rescaling controls at the top of the screen, with the padlock icon open, it again incorrectly rescales the vertical dimension as well as the horizontal one.

The bug does not occur if the image is a link to an external file.

Revision history for this message
bcrowell (launchpadcrowell07) wrote :
Revision history for this message
bcrowell (launchpadcrowell07) wrote :

$ inkscape --version
Inkscape 0.91 r (Feb 12 2015)

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

The original file was created with
   inkscape:version="0.48.3.1 r9886"

Please read my comments e.g. in
  https://bugs.launchpad.net/inkscape/+bug/1658536
and the summary of
  https://bugs.launchpad.net/inkscape/+bug/1357808
explaining the changes in Inkscape >= 0.91 with regard to non-uniformly scaled bitmap images linked/embedded with older Inkscape versions (<= 0.48).

Inkscape 0.92 will include an extension which can fix such images by adding the appropriate attribute - for Inkscape 0.91, you can download the extension from comment 11 in the mentioned report bug #1658536.

Proposing to link as duplicate to bug #1658536.

tags: added: bitmap svg transformations
Revision history for this message
su_v (suv-lp) wrote :

Attaching the example file resaved after applying the extension with default settings, using Inkscape 0.91.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.