PTO_GEN("1")

🌸 pto_gen β€” the HUGIN girlies' project-file maker πŸ’…

okay so bestie, welcome to pto_gen, straight out of the HUGIN manual section 1 πŸŽ€. This is the little tool that takes your pile of photos and turns it into a whole project β€” no cap.


✨ NAME ✨

pto_gen β€” generates a Hugin project file from a list of images. that's literally the whole job. iconic behavior honestly 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

pto_gen [options] image [...]

so you give it some options (or don't, she's flexible πŸ’…) and then a bunch of images. slay.


πŸ’– DESCRIPTION πŸ’–

okay so here's the tea β˜• β€” pto_gen assembles a Hugin .pto project file, and that file is chef's kiss suitable as input for further tools, like the cpfind control-point generator, or for opening right up with the Hugin panorama GUI itself. she's ready for her main character moment the second she's born ✨

and function-wise? functionality is similar to match-n-shift. iykyk πŸ’œ


🌈 USAGE 🌈

pto_gen *.jpg

ok so this one line does A LOT bestie β€” it creates a project file from all the jpg images πŸ“ and the file lands in the same folder as the first photo πŸŽ€

and the name? it's named first_file-last_file.pto, using the same convention as the Hugin GUI. so cute, so consistent, we love a naming scheme that just works πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

  • -o, --output file β€” output Hugin PTO file. this is your "where do i want her to live" option πŸ’–
  • -p, --projection num β€” projection type (default: 0) 🌸
  • -f, --fov float β€” horizontal field of view of images (default: 50) πŸ¦‹
  • -c, --crop= left,right,top,bottom β€” sets the crop of input images (especially for fisheye lenses 🐟) β€” yes she takes all four numbers, in that exact order, no shuffling πŸ™ˆ
  • -s, --stacklength num β€” number of images in stack (default: automatic detection) β€” she'll figure it out herself, lowkey genius 🧚
  • -l, --linkstacks β€” link image positions in stacks πŸ”—
  • --distortion β€” try to load distortion information from lens database πŸ‘€
  • --vignetting β€” try to load vignetting information from lens database πŸ‘€βœ¨
  • -h, --help β€” shows help 🫢 (she's helpful like that)
heads up bestie: --distortion and --vignetting both say "try to" load from the lens database β€” that's not me being cute, that's the actual wording, so don't come for me if the database doesn't have your lens πŸ’€

πŸ’œ AUTHORS πŸ’œ

Thomas Modes β€” the legend, the moment, the author πŸ‘‘βœ¨


and that's the whole vibe check, bestie πŸ’… Version 2025.0.1, dated 2026-09-22 β€” go make some panoramas, you've got this πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from