InkRasterPerspective
Apply perspective transformations for raster images in Inkscape
inkRasterPerspective is an Inkscape extension to apply perspective transformations to raster images, without the need to use external software. It works for both embedded and linked images.
To install this extension, you can either use the extensions manager: (from the menu Extensions > Manage Extensions...), or follow the instructions below for manual installation.
Open Inkscape and go to Extensions > Manage Extension.... A separate window appears, click on the "Install Packages" tab, and type InkRasterPerspective
within the search box and press Enter. Then click on the button "Install Package". These steps are illustrated below:
If, for some reason, the installation via the extensions manager (as shown above) doesn't work, you can install the extension manually by following the instructions below:
cd $HOME/.config/inkscape/extensions
git clone https://github.com/s1291/InkRasterPerspective.git
- Open Inkscape (if it is already open, close then re-open it) and you should find the extension under: Extensions > Raster Perspective > Perspective.
- Download the most recent version (direct link: zip)
- Extract it and copy the files
imagePerspective.py
andimagePerspective.inx
toC:\Program Files\Inkscape\share\inkscape\extensions
.
This extension was tested with the following versions of Inkscape
1.2.x
,1.3.x
, and1.4
.
- Select the raster image and the quadrangle path (envelope) . Make sure the envelope nodes are ordered as follows:
For more details on how to find the nodes order for a path, check out this post.
- Extensions > Raster Perspective > Perspective
See below:
Samir OUCHENE, 2021-2025
All code is licensed under the GNU General Public License version 3. See the license file for details.