.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "PTO_LENSSTACK ""1""" .TH PTO_LENSSTACK """1""" 2024-09-19 """Version: 2023.0.0""" HUGIN .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME pto_lensstack \- modify assigned lenses and stack in pto files .SH SYNOPSIS .IX Header "SYNOPSIS" \&\fBpto_lensstack\fR [options] input.pto .SH DESCRIPTION .IX Header "DESCRIPTION" \&\fBpto_lensstack\fR can manipulate lenses and stacks in Hugin .pto project files. This is intended for use in scripting. .SH USAGE .IX Header "USAGE" .Vb 1 \& pto_lensstack \-\-output=output.pto \-\-new\-lens|\-\-new\-stack|\-\-change\-lens|\-\-change\-stack images input.pto .Ve .SH OPTIONS .IX Header "OPTIONS" .IP \fB\-\-new\-lens\fR 4 .IX Item "--new-lens" .PD 0 .IP \fB\-\-new\-stack\fR 4 .IX Item "--new-stack" .PD For assigned a new lens or stack to an image provide a list of image numbers. The counting starts with zero. Several images can be given at same time. Separate them with a comma. .Sp Examples: pto_lensstack \-\-new\-lens i1,i3 input.pto pto_lensstack \-\-new\-stack i2,i4 input.pto .Sp will assign a new lens to image 1 and 3 and a new stack to images 2 and 4. .IP \fB\-\-change\-lens\fR 4 .IX Item "--change-lens" .PD 0 .IP \fB\-\-change\-stack\fR 4 .IX Item "--change-stack" .PD For changing the lens or the stack provide a list of image numbers and the new lens/stack number. For both the counting starts with zero and you can supply several images separated by a comma at the same time. .Sp Examples: pto_lensstack \-\-change\-lens i1=4,i5=1 input.pto pto_lensstack \-\-change\-stack i2=0,i4=0 input.pto .IP \fB\-o|\-\-output\fR 4 .IX Item "-o|--output" Output a pto file with the given filename. If not given it will append "_lens" to the input filename. .IP \fB\-h|\-\-help\fR 4 .IX Item "-h|--help" Display help .SH AUTHORS .IX Header "AUTHORS" Thomas Modes