FITS2BITMAP(1)
β¨ NAME β¨
fits2bitmap β bestie, this makes a bitmap file out of a FITS image. that's it, that's the whole job π
πΈ DESCRIPTION πΈ
okay so here's the vibe. you got a FITS image (astronomy data, iconic), and you want a cute lil picture out of it. that's literally what this does. here's how you call it:
usage: fits2bitmap [-h] [-e hdu] [-o filename] [--scale SCALE] [--power
POWER]
[--asinh_a ASINH_A] [--min_cut MIN_CUT] [--max_cut MAX_CUT]
[--min_percent MIN_PERCENT] [--max_percent MAX_PERCENT]
[--percent PERCENT] [--cmap colormap_name] filename [filename
...]
like yes it's a lot of brackets, breathe, we'll get through it together π«Ά
π positional arguments π
filenameβ the path to one or more FITS files you wanna convert. yes, more than one, she's flexible β¨
π optional arguments π
-h,--helpβ shows you this help message and dips. classic.-e hdu,--ext hduβ tells it which HDU extension number or name to use. (HDU = header data unit, iykyk)-o filenameβ the filename for the output image. the default? a PNG file with the exact same name as the FITS file. lowkey convenient.--scale SCALEβ the type of image scaling. your options are"linear","sqrt","power","log", or"asinh". pick your fighter.--power POWERβ the power index, and this one's only for"power"scaling. no cap.--asinh_a ASINH_Aβ the value in the normalized image where the asinh curve transitions from linear to logarithmic behavior. only used for"asinh"scaling, so don't stress about it otherwise π§--min_cut MIN_CUTβ the pixel value of the minimum cut level.--max_cut MAX_CUTβ the pixel value of the maximum cut level.--min_percent MIN_PERCENTβ the percentile value used to determine the minimum cut level.--max_percent MAX_PERCENTβ the percentile value used to determine the maximum cut level.--percent PERCENTβ the percentage of the image values used to determine the pixel values of the minimum and maximum cut levels.--cmap colormap_nameβ the matplotlib color map name. go wild, she's giving aesthetic π
fr fr, that's every single flag. nothing hiding. no secret menu π
this whole thing is brought to you by astropy 1.0.2, dated April 2015, and it's literally called fits2bitmap. ok that's the whole page, you ate, go make some bitmaps bestie ππ
π¦ where this page comes from
- debian bookworm: astropy-utils 5.2.1-2+deb12u1 Β· BSD-3-Clause
- debian trixie: astropy-utils 7.0.1-3 Β· BSD-3-Clause
- ubuntu jammy: astropy-utils 5.0.2-1 Β· BSD-3-Clause
- ubuntu noble: astropy-utils 6.0.0-1ubuntu2 Β· BSD-3-Clause
- ubuntu questing: astropy-utils 7.0.1-3
- ubuntu resolute: astropy-utils 7.2.0-1build1 Β· BSD-3-Clause
- ubuntu stonking: astropy-utils 8.0.1-3 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms