pfsrotate(1)

πŸ’« pfsrotate β€” bestie edition πŸ’«

okay so real talk, this is pfsrotate(1) from the General Commands Manual (section 1, the iconic one) and it does exactly one thing and does it gorgeously: it spins your images 90 degrees. no cap.


✨ NAME ✨

pfsrotate β€” rotates images 90 degrees. that's it. that's the whole personality. πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

pfsrotate [--r] [--help]

πŸ¦‹ DESCRIPTION πŸ¦‹

use this command to rotate images from a stream of pfs. literally the moment for it. 🫢

this command is useful for output on hardcopy devices with aspect ratios opposite to the input image β€” like when your printer is being dramatic and your image is lying the wrong way. by default, the image is rotated clockwise. the --r option may be used to rotate the image counter-clockwise instead. slay, choices. πŸ’…


πŸ’– OPTIONS πŸ’–

  • --r, -r β€” rotate the image counter-clockwise instead of clockwise. the lil rebel option. πŸ”„

🌸 EXAMPLES 🌸

pfsin memorial.hdr | pfsrotate -r | pfsout memorial_gc.hdr

rotate the memorial image 90 degrees counter-clockwise and save it to memorial_gc.hdr. iconic pipeline behaviour, honestly. ✨


🌈 NOTES 🌈

to rotate an image 180 degrees, use pfsflip(1) with both the --h and --v options specified. not me giving you the roundabout route but it's the correct one, iykyk. 🧚


πŸ’œ SEE ALSO πŸ’œ

pfsin(1) pfsout(1) pfsflip(1) β€” the whole friend group, go say hi. 🫢


πŸ’€ BUGS πŸ’€

please report bugs and comments to Alexander Efremov <aefremov@mpi-sb.mpg.de>. he's the main character of this one, respect. πŸ™ˆ


lowkey obsessed with how simple this is. no weird flags, no surprises, just vibes and rotation. πŸ’–

and that's the whole page bestie β€” pfsrotate(1) straight outta the General Commands Manual, no date line on this one so we're just repping the manpage itself, periodt. πŸ’…πŸŒΈ