Monday, March 28, 2016

inkscape - Cannot change aspect ratio of embedded raster image after PDF import


I imported a figure from PDF (generated from Latex) into Inkscape as SVG for final editing. After import the raster-image does not fit the axis anymore.


This would not be an issue, but for some reason I cannot adjust the size of the raster image with free aspect ratio to fit it to the axis.


The lock in the toolbar (next to size and position) is not locked so it should be possible.


Furthermore for some reason the image is completely blurred (you should be able to see large individual pixels). Probably some filter, but I tried to remove a filters, which did nothing.


This is the image after import (I removed all other elements as this is for an as of yet unpublished article): Image after import


This is when trying to resize to a much smaller square aspect ratio (for illustration). Note how the box is squared, but the image maintains its aspect ratio. enter image description here



Answer




  • Click on the image to select it.


  • Open the XML editor.

  • Set the attribute preserveAspectRatio for the image to none


No comments:

Post a Comment

technique - How credible is wikipedia?

I understand that this question relates more to wikipedia than it does writing but... If I was going to use wikipedia for a source for a res...