tif2svg - Man Page

generates an SVG file from hugin 'multiple TIFF' output


  tif2svg [options] INPUT INPUT ...


Takes a list of TIFF files and assembles an SVG file with each TIFF referenced on a separate layer.

If the --trace option is given, alpha channels are traced with 'autotrace' and this vector path is inserted as clip paths.

Typically, multiple TIFF output is generated by hugin/nona, instead of adjusting alpha channels for enblend, this tool allows the masks to adjusted in Inkscape instead.  The saved SVG file can be blended with 'enblend-svg'.

Requires Image::Size and autotrace.


Note that the 'multiple TIFF' files can be large and unwieldy, use the --jpeg-proxies option to generate JPEG versions for use in Inkscape. 'enblend-svg' will swap these back when blending.


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

perl, Panotools::Script


September 2007, Bruno Postle <bruno AT postle.net>


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