Skip to content

Latest commit

 

History

History
44 lines (24 loc) · 1.68 KB

README.md

File metadata and controls

44 lines (24 loc) · 1.68 KB

Raster Perspective

Apply perspective transformation to bitmap images using the selected path as envelope, without the need to use an external software to transform the image. It works for both embedded and linked images.

Installation:

To install this extension, you can either use the extensions manager: (from the menu Extensions > Manage Extensions...), or follow the instructions below.

On Linux:

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.

On Windows:

  • Download the most recent version (direct link: zip)
  • Extract it and copy the files imagePerspective.py and imagePerspective.inx to C:\Program Files\Inkscape\share\inkscape\extensions.

How to use

This extension was tested with the following versions of Inkscape 1.2.x, 1.3.x, and 1.4-dev.

  1. Select the raster image and the quadrangle path (envelope) . Make sure the envelope nodes are ordered as follows:

order of enveloppe nodes

For more details on how to find the nodes order for a path, check out this post.

  1. Extensions > Raster Perspective > Perspective

See below:

How to use the extension

Author

Samir OUCHENE, 2021-2024

All code is licensed under the GNU General Public License version 3. See the license file for details.