Feature request: Do not optimize transforms on Image objects

Bug #371297 reported by Stratadrake
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Wishlist
Unassigned

Bug Description

Occuring in Inkscape 0.45.1:

When you import an Image object, if further transformations (scaling in particular) are applied to the object, it is no longer possible to revert the image to its original dimensions short of re-importing the image altogether. For example, after transforming the object, when you view the "Image Properties", the Width and Height are the post-transformed values, not the pre-transformed values associated with the original image.

Further investigation reveals that this only occurs when Inkscape's Transform options are set to "Optimized". If the option is set to "Preserved", then the "Image Properties" displays the original (pre-transform) Width and Height, and you can revert the image to its original width/height by removing the object's 'transform=' attribute via the XML editor or applying an identity transformation matrix via 'Object > Transform...' .

Either way, it would be nice to have Inkscape always preserve transformations on Image objects, and a command (perhaps on the context menu for Image objects) to remove transforms from an Image object.

(On a related note, I have noticed times where Inkscape always optimizes transformations even when Preserved transformations are specified -- but those are things like path objects where optimizing transformations is obviously the desired behavior.)

nightrow (jb-benoit)
Changed in inkscape:
importance: Undecided → Wishlist
su_v (suv-lp)
tags: added: bitmap transformations
Revision history for this message
su_v (suv-lp) wrote :

Related topics wrt transformations of embedded / linked bitmap images and SVG compliance:
- Bug #461467 “Image scale saved incorrectly”
- Bug #616717 “Resized bitmap images are rendered differently by Firefox or Batik ('preserveAspectRatio' attribute not set)”
- Bug #924377 “wrong default value for image preserveAspectRatio”

Changed in inkscape:
status: New → Confirmed
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.