Apply perspective transformation to raster images inside Inkscape (no need to use an external software such as GIMP or Krita). It works for both embedded and linked images.
For a more complete guide on how to install and use the extension, please refer to the README.md file.
Once installed properly, you can access the extension from: Extensions > Raster Perspectvie > Perspective.
Great addition, thank you.
it does not works ....
error :
Traceback (most recent call last):
File "D:\movies\inkscape 1.3 and extisiones\inkscape\share\inkscape\extensions\imagePerspective.py", line 206, in <module>
imagePerspective.run()
File "D:\movies\inkscape 1.3 and extisiones\inkscape\share\inkscape\extensions\inkex\base.py", line 231, in run
self.save_raw(self.effect())
File "D:\movies\inkscape 1.3 and extisiones\inkscape\share\inkscape\extensions\imagePerspective.py", line 114, in effect
the_image_node, envelope_node = self.svg.selection
ValueError: not enough values to unpack (expected 2, got 1)
Hi Rafik, Thank you for the feedback. Using this extension is actually very easy. You can refer to the section: "How to use" on the repository which has a recording that demonstrates that: https://github.com/s1291/InkRasterPerspective Regards
From your error message, it seems that you are not selecting the image and the envelope simultaneously.
Thanks for creating this awesome extension!
Very helpful :")
First of all: Thanks a lot. It's working flawless in Inkscape 1.4.
But ... in 1.4.1rc1 I get the following error:
_____________________________________________________________________________
Traceback (most recent call last): File "C:\Users\XXX\AppData\Roaming\inkscape\extensions\org.inkscape.extension.31132\InkRasterPerspective\imagePerspective.py", line 25, in
from PIL import Image as PIL_Image
File "C:\Users\XXX\Desktop\inkscape-1.4.1_2025-04-03_2c55c12-\lib\python3.12\site-packages\PIL\Image.py", line 97, in
from . import _imaging as core ImportError: DLL load failed while importing _imaging:
The specified module could not be found.
_____________________________________________________________________________
Seems Python 3.12 is altered.