Icône du fichier
 
 

2195

 

12

InkRasterPerspective

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.

Inkscape Extensions

Taille
3,5 Kio
Créé le
Révisions
10
Type
application/zip
General Public License v3 (GPLv3)

Lien

Marcos González a écrit le  :

Great addition, thank you.

Rafik Alhaji a écrit le  :

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)

Samir Ouchene a écrit le  :

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.

 

Rania Amina a écrit le  :

Thanks for creating this awesome extension!
Very helpful :")

Oosterhagen Oosterhagen a écrit le  :

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.

Samir Ouchene a écrit le  :

@Oosterhagen: Many thanks for pointing that out. I reported a related issue here: https://gitlab.com/inkscape/inkscape/-/issues/5728

COD a écrit le  :

Extremely useful extension and should be added to Inkscape in the future!

Samir Ouchene a écrit le  :

A fix for a packaging error was published. If your Inkscape version in 'Help > About Inkscape' is 1.4.2 (ebf0e94....), you need to redownload and install Inkscape: https://inkscape.org/release/1.4.2/windows/

Connectez-vous pour ajouter un commentaire !