PTOSPLIT(1)

πŸ“¦
version 0.29 Β· 2 versions
, in fedora 43

πŸ’– PTOSPLIT(1) πŸ’–

okay bestie, welcome to the ptosplit page, straight outta the User Contributed Perl Documentation section of the manual. she's a lil script, she's iconic, and she's about to make your pano life so much easier. let's get into it 🫢


✨ NAME ✨

ptosplit β€” extracts a subset pto project

like. that's the whole vibe. she takes a big pto project and pulls out just the lil slice you asked for. slay 🌈


✨ SYNOPSIS ✨

ptosplit 0 2-4 8 [..] infile.pto outfile.pto

yep that's it. numbers first, then the files. no cap. πŸ’…


✨ DESCRIPTION ✨

okay so here's the tea πŸ“: ptosplit extracts just the specified images from a .pto project, and writes a brand new project containing just these images, plus their related control points and their optimisation settings. it's giving "cut the guest list, keep the main characters" energy πŸ‘‘

Images can be requested in any order, but β€” and this is important bestie β€” they will be returned in the same order as the 'parent' project. so like, you can ask however you want, she's gonna hand them back in the order the original project had them. periodt.

🚨 also note: image numbers start at 0. zero. not one. she's a programmer, she counts from zero, we love that for her.

Ranges can be used, so 2-5 is the same as 2 3 4 5. one lil dash, four images, zero effort. obsessed. ✨


✨ Calling syntax ✨

ptosplit <number> <number ...>  <pto-file> <pto-file>

and yes, queen β€” (input and output can be the same file). she's flexible like that πŸ’…


✨ License ✨

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 ✨


✨ Author ✨

Bruno Postle, <bruno (at) postle.net> πŸ’–


and that's the whole page bestie!! perl v5.42.0, dated 2025-07-25 β€” ty for coming to my ted talk, now go split some ptos πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from