imsize(1)
β¨ imsize(1) β the General Commands Manual page, but make it cute β¨
okay bestie, gather round π this is imsize, living in section 1 of the General Commands Manual, and she is literally the moment.
π NAME π
imsize β Print size of image in WCS and pixels
likeβ¦ she tells you how big your image is, in world coordinates AND in pixels. iconic behaviour honestly π
πΈ SYNOPSIS πΈ
imsize [-vcd] [-p scale] [-b ra dec] [-j ra dec] FITS or IRAF file(s)
yes she takes FITS or IRAF files (plural!! she's flexible like that π¦) and a whole lil bouquet of flags.
π« DESCRIPTION π«
so imsize is a utility for printing the region covered by an image, using the world coordinate system parameters that are chillin' inside IRAF and FITS image headers. no cap.
the way she does it: she converts IRAF .imh image headers to FITS format first, and only then extracts the info. periodt.
and for IRAF files specifically? the image dimensions and the object name get set from the binary portion of the header. that's just how she rolls π
π OPTIONS π
one bullet per flag, no skipping, we respect the whole menu:
-b[<RA> <Dec>]β Output B1950 (B1950) coordinates, with an optional center-cβ Format output without pixel dimensions (optional size change)-dβ Format output as input to DSSgetimage(optional size change)-eβ Add epoch of image to output line-j[<RA> <Dec>]β Output J2000 (J2000) coordinates, with an optional center-n<number>β Number of decimal places in output (default3)-p<scale>β Initial plate scale in arcsec per pixel (default0)-rβ Print range in RA and Dec-vβ Print more intermediate information for debugging-zβ Use AIPS classic projections instead of WCSLIB
ngl the-ndefault of3and the-pdefault of0are just sitting there quietly doing their thing, and I respect them for it π«Ά
π AUTHOR π
Jessica Mink, SAO (jmink@cfa.harvard.edu) β absolute legend, wrote her, we stan π
and that's the whole vibe check, bestie! π this page is from WCSTools, dated 6 July 2001, and it's the imsize(1) manual page β she's been serving WCS realness since 2001 and she has NOT missed a day. slay, honestly. go measure some images πβ¨ππ¦πΈπ
π¦ where this page comes from
- debian bookworm: wcstools 3.9.7-1 Β· GPL-2.0-only
- debian trixie: wcstools 3.9.7-1.1+b1 Β· GPL-2.0-only
- epel 9: wcstools 3.9.7-2.el9 Β· GPLv2+
- fedora 43: wcstools 3.9.7-12.fc43 Β· GPL-2.0-or-later
- fedora 44: wcstools 3.9.7-13.fc44 Β· GPL-2.0-or-later
- ubuntu jammy: wcstools 3.9.6-1 Β· GPL-2.0-only
- ubuntu noble: wcstools 3.9.7-1.1build1 Β· GPL-2.0-only
- ubuntu questing: wcstools 3.9.7-2
- ubuntu resolute: wcstools 3.9.7-2build1 Β· GPL-2.0-only
- ubuntu stonking: wcstools 3.9.7-2build1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms