Your company here, and a link to your site. Click to find out more.

nona-svg - Man Page

stitch a vector panorama image


 nona-svg [options] -o output project_file (image files)

  -o prefix    Prefix for output
  -i num       Images to render, can be specified multiple times
  -h | --help  Outputs help documentation.


nona-svg is a drop in replacement for nona that works with SVG vector files.

There are some snags:

The .pto project needs to prepared with the correct w and h (width and height in pixels) parameters for the input SVG files in each i-line.  You can specify the SVG filenames using the n parameter, or by appending the SVG filenames on the command-line (similar to nona).

This tool uses regular expressions rather than an SVG parser, so expect it to fail in all sorts of situations.  It seems to be ok with simple lines and curves generated by Inkscape.

This tool uses pano_trafo from the Hugin project to do the projection math, the way the connection is done makes it only likely to work on unixy systems.

Expect to see 'ContractViolation' errors from vigra, ignore them, this is a bug in pano_trafo which unnecessarily tries to open image files.

Note that only homography transformations preserve splines, i.e. this only works properly if the input and output projection is rectilinear.  Having said that, the error with other projections isn't so noticeable if your lines are short and/or they are converted to 'curves' in Inkscape before remapping.


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

See Also



Bruno Postle - August 2012


2024-01-25 perl v5.38.2 User Contributed Perl Documentation