CONVERTTYPE(1)
π CONVERTTYPE π β the astconvertt era
okay bestie, so this is the manual page for ConvertType, aka the icon of format flippin'. Let me tell you everything, no gatekeeping. π«Ά
β¨ NAME β¨
ConvertType β convert known data types to each other π
π SYNOPSIS π
astconvertt [OPTION...] InputFile1 [InputFile2] ... [InputFile4]
π¦ DESCRIPTION π¦
So ConvertType is literally part of GNU Astronomy Utilities 0.24 π and what it does is, like, take any of the known input formats and glow them up into any of the known output formats. The output file keeps the same number of pixels as the input. No pixels were lost in the making of this conversion, periodt. β¨
Wanna know more? Run any of these, bestie. And lowkey the second one is the main character here β it gives you the whole tea on how to call ConvertType: expected input(s), output(s), and a full description of all the options. π
All options and their values:
$ astconvertt -P
Inputs/Outputs and options:
$ info astconvertt
Full section in manual/book:
$ info ConvertType
Full Gnuastro manual/book:
$ info gnuastro
And if the manual is giving you nothing and you're like "help π", you can get direct help from experienced Gnuastro users and developers. For more info, run:
$ info help-gnuastro
π OPTIONS π
ConvertType options, coming in hot π₯:
π Input:
-g,--globalhdu=STR/INTβ use this HDU for all the inputs, and just ignore--hdu. one HDU to rule them all, fr fr.-h,--hdu=STR/INTβ FITS input HDU, and yes you can call it multiple times. slay.-I,--ignorecaseβ ignore case when it's matching/searching columns. case? never heard of her.--searchin=STRβ pick your column(s) from:'name','unit','comment'.--stdintimeout=INTβ micro-seconds to wait for standard input. β³
πΈ Output:
--bordercolor=STRβ name of the color to use for the border. π--cmappgfplotsβ color map to include in PGFPlots (that's in LaTeX, iykyk).--colormap=STR[,FLT]β color map to use when you only gave a single channel. π¨-D,--dontdeleteβ don't delete the output if it already exists. let it live!!-K,--keepinputdirβ keep the input directory for automatic output. ποΈ-l,--cmapblankcolor=STRβ blank color name in color maps.--outfitsnocommitβ no Git commit in the 0-th HDU of the output FITS.--outfitsnoconfigβ no metadata in the 0-th HDU of the output FITS.--outfitsnodateβ no'DATE'in the 0-th HDU of the output FITS.--outfitsnoversionsβ no versions in the 0-th HDU of the output FITS.-o,--output=STRβ output filename or suffix. the classic. β¨--rgbtohsvβ convert RGB input into HSV (in FITS output).-u,--quality=INTβ quality of the output JPEG image (1to100). no bad selfies allowed. πΈ--wcslinearmatrix=STRβ WCS linear matrix of the output ('pc'or'cd').-w,--widthincm=FLTβ width in units of centimeters.-x,--hexβ hexadecimal encoding in EPS. Default: ASCII85. π‘
π Flux:
-A,--forceminβ force--fluxmin, even when it's smaller than min. do it anyway bestie.-B,--forcemaxβ force--fluxmax, even when it's larger than max.-c,--change=STRβ change pixel values'from_1:to_1,from_2:to_2'.-C,--changeaftertruncβ first truncate, then change pixel values. order matters!!-H,--fluxhigh=FLTβ higher flux truncation value.-i,--invertβ invert the values in JPEG and EPS/PDF. π-L,--fluxlow=FLTβ lower flux truncation value.-m,--maxbyte=INTβ maximum byte value for all color channels.
π§ Vector graphics (only for EPS or PDF outputs)
-b,--borderwidth=INTβ border width in units of points (1/72inch).--listcolorsβ list names and RGB info of all the colors. rainbow inventory π--listfontsβ list names of available fonts. π€--markcolor=STRβ name or number of the column with mark color.--markfont=STRβ name or number of the column with mark font name.--markfontsize=STRβ name or number of the column with mark font size.--marklinewidth=STRβ name or number of the column with line width.--markrotate=STRβ name or number of the column with mark rotation. spin it π--marks=STRβ name of the mark information table.--markshape=STRβ name or number of the column with mark shapes:circle (1),plus (2),cross (3),ellipse (4),point(5),square (6)rectangle (7)andline (8).--markshdu=STRβ HDU in'--marks'(if it's a FITS file).--marksize=STR[,STR]β name or number of the column(s) with mark size(s).--marktext=STRβ name or number of the column with mark text.--marktextprecision=INTβ number of decimals when the text column is a float column.-O,--mode=STRβ coordinate mode for marks ('wcs'or'img').-r,--markcoords=STR,STRβ name or number of the columns with coordinates.--showfontsβ show all fonts in a PDF. font fashion show π--sizeinarcminβ size column values are in arcmin (in WCS-mode).--sizeinarcsecβ size column values are in arcsec (in WCS-mode).--sizeinpixβ size column values are in pixels (in WCS-mode).
β Operating modes:
-?,--helpβ give this help list.--checkconfigβ list all config files and variables read. π--citeβ BibTeX citation for this program.--config=STRβ read configuration fileSTRimmediately.--config-prefix=STRβ custom prefix of option names in config files.--lastconfigβ do not parse any more configuration files. we're done here β--logβ information about output(s) in a log file.--minmapsize=INTβ minimum bytes to avoid RAM automatically.-N,--numthreads=INTβ number of CPU threads to use. multithreaded queen π--onlyversion=STRβ only run if the program version isSTR.-P,--printparamsβ print the parameter values that will be used and abort.--quietmmapβ don't print mmap'd file's name and size.-q,--quietβ only report errors, remain quiet about steps. π€«-S,--setdirconfβ set default values for this directory and abort.--usageβ give a short usage message.-U,--setusrconfβ set default values for this user and abort.-V,--versionβ print program version.
π Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. so don't get cute with it.
GNU Astronomy Utilities home page: http://www.gnu.org/software/gnuastro/ π«Ά
π REPORTING BUGS π
Report bugs to bug-gnuastro@gnu.org. (be nice, they're doing their best π)
π COPYRIGHT π
Copyright Β© 2015-2025 Free Software Foundation, Inc. License GPLv3+: GNU General public license version 3 or later.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. no cap, zero warranty.
Written/developed by Mohammad Akhlaghi β¨
π SEE ALSO π
The full documentation for ConvertType is maintained as a Texinfo manual. If the info and ConvertType programs are properly installed at your site, the command
info ConvertType
should give you access to the complete manual.
and that's the whole vibe bestie π¦ this page is from GNU Astronomy Utilities 0.24, dated November 2025 β go forth and convert, you absolute icon π β¨
π¦ where this page comes from
- epel 10: gnuastro 0.24-1.el10_3 Β· GPL-3.0-or-later AND FSFAP AND GFDL-1.3-or-later
- epel 9: gnuastro 0.24-1.el9 Β· GPL-3.0-or-later AND FSFAP AND GFDL-1.3-or-later
- nixos 26.05: gnuastro 0.24
- nixpkgs unstable: gnuastro 0.24
- ubuntu resolute: gnuastro 0.24-1 Β· GPL-3.0-or-later
- ubuntu stonking: gnuastro 0.24-1 Β· 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