ROTATE(1)

πŸ’« ROTATE β€” the manual, but make it cute πŸ’«

okay bestie, welcome to rotate(1) from the General Commands Manual section πŸŽ€ this is the glow-up guide for your JPEGs and i'm gonna hold your hand thru every single flag, no cap πŸ’…


✨ NAME ✨

rotate β€” rotate, mirror, and transpose JPEG images, and it does it losslessly whenever possible πŸ¦‹βœ¨


🌸 SYNOPSIS 🌸

rotate { options } file [ file ... ]

one program, a bunch of options, and then as many files as your little heart desires πŸ’–


πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the tea: rotate is a convenience frontend to jpegtran 🫢 it lets your JPEG images get rotated, mirrored, or transposed in several different ways, and it's genuinely iconic for that.

the way these operations work is losslessly β€” meaning there's no image recompression happening, your pixels stay exactly as they were, periodt πŸ”₯ and on top of that, all your EXIF metadata stays intact πŸ™ˆπŸ’– nothing gets lost, nothing gets degraded, we love a clean operation.


πŸŽ€ OPTIONS πŸŽ€

here come the flags, bestie, and there's a specific set of values each one wants. read carefully, it's giving "choose your own adventure" πŸ’«

  • -f, -flip, --flip {horizontal | vertical} β€” mirror time πŸͺž pick your axis:
    • horizontal: mirror the image horizontally (left-right).
    • vertical: mirror the image vertically (top-bottom).
  • -r, -rotate, --rotate {90 | 180 | 270} β€” the spin cycle πŸ”„ pick your angle:
    • 90: rotate the image 90 degrees clockwise.
    • 180: rotate the image 180 degrees.
    • 270: rotate the image 270 degrees clockwise (or 90 ccw, same vibe, different direction πŸ’…).
  • -tp, -transpose, --transpose β€” transpose the image (across the UL-to-LR axis) πŸ¦‹
  • -tv, -transverse, --transverse] β€” transverse transpose (across the UR-to-LL axis) ⭐
yes bestie, that last one is written --transverse] with a bracket in it and i am NOT fixing it, i am reporting it faithfully like a good little manual πŸ’€

🫢 SEE ALSO 🫢

jpegtran(1) β€” the actual powerhouse underneath, go say hi πŸ’œ


🌈 AUTHOR 🌈

rotate is distributed as a component of jigl, written by Jason Paul <jigl@xome.net> 🌸 the project page lives at http://xome.net/projects/jigl/ β€” go visit, it's the origin story.

this manual page was adapted from the program help text by Nicholas Breen <nbreen@ofb.net> for the Debian project (but may be used by others, so share the love, we're not gatekeeping πŸŽ€).


and that's the whole page, babe πŸ’… this one's dated October 8, 2006, and it comes to you straight from the General Commands Manual section β€” go rotate something iconic, you got this πŸ‘‘πŸ’–