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 πβπ
π¦ where this page comes from
- debian bookworm: minc-tools 2.3.00+dfsg-10 Β· as_is
- debian trixie: minc-tools 2.3.00+dfsg-12 Β· as_is
- nixpkgs unstable: minc-tools 2.3.06-unstable-2024-11-28
- ubuntu jammy: minc-tools 2.3.00+dfsg-8 Β· as_is
- ubuntu noble: minc-tools 2.3.00+dfsg-10build2 Β· as_is
- ubuntu questing: minc-tools 2.3.00+dfsg-12
- ubuntu resolute: minc-tools 2.3.00+dfsg-15 Β· NTP
- ubuntu stonking: minc-tools 2.3.00+dfsg-17 Β· NTP
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms