CONVERTTYPE(1)

πŸ“¦
version 0.24 Β· 5 versions
, in epel 10, epel 9, nixos 26.05, nixpkgs unstable, ubuntu resolute, ubuntu stonking

πŸ’– 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 (1 to 100). 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/72 inch).
  • --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) and line (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 file STR immediately.
  • --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 is STR.
  • -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 Β© 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