mia-raw2image(1)
π mia-raw2image(1) π
okay bestie, welcome to the General Commands Manual glow-up edition β this is mia-raw2image, and she is literally here to take your raw data and turn it into a 2D image. no cap. π¦
β¨ NAME β¨
mia-raw2image β Convert raw data into a 2D image π
πΈ SYNOPSIS πΈ
mia-raw2image -i <in-file> -o <out-file> -s <size> [options]
π DESCRIPTION π
mia-raw2image β this program is used to convert raw data to a 2D file format. that's the whole vibe, that's the whole job. she eats raw bytes and serves 2D image. β¨
π OPTIONS π
-i,--in-file=(input, required); string β input file name. yeah, you gotta tell her what to read. required, bestie. π-o,--out-file=(output, required); io β output file name. For supported file types seePLUGINS:2dimage/ioπ-r,--repn=ubyteβ input pixel type. pick your fighter:bitβ binary datasbyteβ signed 8 bitubyteβ unsigned 8 bitsshortβ signed 16 bitushortβ unsigned 16 bitsintβ signed 32 bituintβ unsigned 32 bitslongβ signed 64 bitulongβ unsigned 64 bitfloatβ floating point 32 bitdoubleβ floating point 64 bitnoneβ no pixel type defined
-b,--big-endianβ input data is big endian π«Ά-f,--scale=[1,1]β scale of input pixels<FX,FY>-s,--size=(required); 2dbounds β size of input<NX,NY>. required, so don't skip her π-k,--skip=0β skip number of bytes from beginning of file
π§ 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).
(yes, "Maxiumum" β we keep the typo, we don't fix her, we love her as she is π)
π PLUGINS: 2dimage/io π
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 π
Convert a data set data.raw of size <10,20> of short integer data with a pixel size of <1.2, 2.3> to a PNG file image.png
mia-raw2image -i data.raw -o image.png -s '<10,20>' -k '<1.2,2.3>' -r
ushort
(she wrote it exactly like that, we are not touching it, we are just admiring π«Ά)
π AUTHOR(s) π
Gert Wollny β iconic, legendary, we stan π
β 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'.
and that's the whole page, bestie π this came from the USER COMMANDS crew, version v2.4.7, under the mia-raw2image(1) title β go forth and convert your raw data, no cap πΈβ¨
π¦ where this page comes from
- debian bookworm: mia-tools 2.4.7-11+b1 Β· 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