mia-2dgray...ine-to-rgb(1)
π mia-2dgrayimage-combine-to-rgb β the combine-gray-into-RGB bestie guide π
okay so. you know how this is a General Commands Manual page? yes bestie, it's a real command, it lives in the mia-2dgrayimage-combine-to-rgb neighbourhood, and it's about to become your new favourite thing. sit down, grab a boba, we're doing image channel math. π§β¨
πΈ NAME πΈ
mia-2dgrayimage-combine-to-rgb β combine gray scale images to an rgb image. that's it, that's the whole vibe. three gray besties walk in, one RGB icon walks out. π
β¨ SYNOPSIS β¨
mia-2dgrayimage-combine-to-rgb -o <out-file> [options]
literally just give it an output and it will serve. π
π¦ DESCRIPTION π¦
okay so <hotpink>mia-2dgrayimage-combine-to-rgb</hotpink> β this program combines up to three gray scale images into a three channel RGB image with eight bit per color channel. no cap.
the input images must be gray scale of eight bit colordepth. that's the rule, that's the requirement, don't fight it. π
and here's the cute part: if at input one channel is not given, it will be set to zero. so if you're like "bestie I only have red" the green and blue channels just⦠become zero. they're not mad about it.
but listen: at least one input channel must be given. you cannot give it nothing. giving it nothing is not a slay, it's an error. π
π OPTIONS π
-b --blue=(input); ioβ input image for blue channel π« For supported file types seePLUGINS:2dimage/io-g --green=(input); ioβ input image for green channel π For supported file types seePLUGINS:2dimage/io-r --red=(input); ioβ input image for red channel π For supported file types seePLUGINS:2dimage/io-o --out-file=(output, required); ioβ combined output image. yes it's required, it's the main character, it doesn't do optional. π For supported file types seePLUGINS:2dimage/io
π Help & Info π
-V --verbose=warningβ verbosity of output, print messages of given level and higher priorities. Supported priorities starting at lowest level are:traceβ Function call tracedebugβ Debug outputinfoβ Low level messagesmessageβ Normal messageswarningβ Warningsfailβ Report test failureserrorβ Report errorsfatalβ Report only fatal errors
--copyrightβ print copyright information π-h --helpβ print this help π-? --usageβ print a short help π«Ά--versionβ print the version number and exit π’
π Processing π
--threads=-1β Maxiumum number of threads to use for processing, This number should be lower or equal to the number of logical processor cores in the machine. (-1: automatic estimation). π§΅β¨
π PLUGINS: 2dimage/io π
okay so these are all the file types that will actually talk to you. vibe check each one:
bmpβ BMP 2D-image input/output support. The plug-in supports reading and writing of binary images and 8-bit gray scale images. read-only support is provided for 4-bit gray scale images. The color table is ignored and the pixel values are taken as literal gray scale values.- Recognized file extensions:
.BMP,.bmp - Supported element types:
- binary data, unsigned 8 bit
- Recognized file extensions:
datapoolβ Virtual IO to and from the internal data pool- Recognized file extensions:
.@
- Recognized file extensions:
dicomβ 2D image io for DICOM- Recognized file extensions:
.DCM,.dcm - Supported element types:
- signed 16 bit, unsigned 16 bit
- Recognized file extensions:
exrβ a 2dimage io plugin for OpenEXR images- Recognized file extensions:
.EXR,.exr - Supported element types:
- unsigned 32 bit, floating point 32 bit
- Recognized file extensions:
jpgβ a 2dimage io plugin for jpeg gray scale images- Recognized file extensions:
.JPEG,.JPG,.jpeg,.jpg - Supported element types:
- unsigned 8 bit
- Recognized file extensions:
pngβ a 2dimage io plugin for png images- Recognized file extensions:
.PNG,.png - Supported element types:
- binary data, unsigned 8 bit, unsigned 16 bit
- Recognized file extensions:
rawβ RAW 2D-image output support- Recognized file extensions:
.RAW,.raw - Supported element types:
- binary data, signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit
- Recognized file extensions:
tifβ TIFF 2D-image input/output support- Recognized file extensions:
.TIF,.TIFF,.tif,.tiff - Supported element types:
- binary data, unsigned 8 bit, unsigned 16 bit, unsigned 32 bit
- Recognized file extensions:
vistaβ a 2dimage io plugin for vista images- Recognized file extensions:
.-,.V,.VISTA,.v,.vista - Supported element types:
- binary data, signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit
- Recognized file extensions:
π EXAMPLE π
Combine the images red.png, blue.tiff, and green.bmp to the output image rgb.jpg.
mia-2dgrayimage-combine-to-rgb -r red.png -b blue.tiff -g green.bmp -o
rgb.jpg
see? red, blue, green, out. absolutely ate. π₯ (and yes, the line break in the middle is literally how it's written, don't @ me)
π AUTHOR(s) π
Gert Wollny β the legend, the icon, the moment. π«Ά
π COPYRIGHT π
This software is Copyright (c) 1999β2015 Leipzig, Germany and Madrid, Spain. It comes with ABSOLUTELY NO WARRANTY and you may redistribute it under the terms of the GNU GENERAL PUBLIC LICENSE Version 3 (or later). For more information run the program with the option '--copyright'.
bestie the NO WARRANTY is in all caps for a reason. it means it. π
aaaand that's the whole page!! π this came to you from the USER COMMANDS section, version v2.4.7, and it's still called mia-2dgrayimage-combine-to-rgb in case you forgot (you didn't, you're doing amazing). go make some RGB, ily, periodt. πβ¨π¦
π¦ where this page comes from
- debian bookworm: mia-tools 2.4.7-11+b1 Β· GPL-3.0-or-later
- ubuntu jammy: mia-tools 2.4.7-8ubuntu1 Β· GPL-3.0-or-later
- ubuntu noble: mia-tools 2.4.7-13build4 Β· GPL-3.0-or-later
- ubuntu resolute: mia-tools 2.4.7-18 Β· GPL-3.0-or-later
- ubuntu stonking: mia-tools 2.4.7-19build1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms