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):
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.
Answer
- Click on the image to select it.
- Open the XML editor.
- Set the attribute
preserveAspectRatio
for the image tonone
No comments:
Post a Comment