INVERT_RAW_IMAGE(1)

✨ INVERT_RAW_IMAGE ✨

okay so bestie, welcome to the invert_raw_image page πŸ’– it lives in section 1 of the General Commands Manual, and it is exactly the kind of tiny chaotic little tool that eats. let's get into it 🫢


🌸 NAME 🌸

invert_raw_image β€” invert a 2D image along either or both axes πŸ’…

like. flip it. that's the whole job. and she does it flawlessly.


πŸŽ€ SYNOPSIS πŸŽ€

invert_raw_image xsize xsize [bytesperpixel]

that's it. three little slots. no config files, no vibes check required. periodt.


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea β˜• β€” invert_raw_image reads an image from standard input and copies it to standard output, inverting along either or both dimensions according to the arguments. she's a pipeline girlie fr fr, no cap 🧚

the parameter xsize specifies the number of pixels in the x-direction ✨

and now for the iconic part: use a negative number to flip the image along this axis πŸ‘‘ ditto for ysize. that's the whole trick, that's the moment, it's giving main character energy and honestly we're obsessed 😭

the number of bytes per pixel defaults to 1 if not specified. lowkey a sensible default, highkey the only one you'll usually need πŸ’–

ok but real talk bestie β€” the axis-flip thing works by you handing over a negative size. so if your image is coming out mirrored and you're confused, check your sign first, not your life choices πŸ™ˆ

that's the whole page!! short, sweet, slays, no notes πŸ’œ

sign-off time πŸŽ€ this one's from INVERT_RAW_IMAGE(1), living its best life in the General Commands Manual, section 1. stay flipping, bestie πŸŒˆβ­πŸ“