FSLCHFILETYPE(1)
β¨ fslchfiletype β¨
okay bestie, gather round, because fslchfiletype is one of those little FSL besties that does exactly one thing and does it flawlessly π
it's the file-type glow-up tool, and honestly? iconic.
π SYNOPSIS π
fslchfiletype <filetype> <filename> [filename2]
π DESCRIPTION π
so here's the tea, bestie: fslchfiletype changes the file type of the image file β or, if you're feeling spicy and want to keep the original around, it copies to a new file πΈ
lowkey the <filetype> argument is not a vibe-you-can-improvise situation. it only accepts the exact values listed below, no cap.
the valid values for filetype are:
NIFTI NIFTI_GZ NIFTI_ZST NIFTI_BZ2 NIFTI_PAIR NIFTI_PAIR_GZ
NIFTI_PAIR_ZST NIFTI_PAIR_BZ2 NIFTI2 NIFTI2_GZ NIFTI2_ZST
NIFTI2_BZ2 NIFTI2_PAIR NIFTI2_PAIR_GZ NIFTI2_PAIR_ZST
NIFTI2_PAIR_BZ2
likeβ¦ look at that list π you got your classic NIFTI, all the compressed girlies (NIFTI_GZ, NIFTI_ZST, NIFTI_BZ2), the .hdr/.img pair era with NIFTI_PAIR and its compressed sisters (NIFTI_PAIR_GZ, NIFTI_PAIR_ZST, NIFTI_PAIR_BZ2), and then the whole NIFTI-2 cinematic universe doing the exact same thing again with a 2 in the name: NIFTI2, NIFTI2_GZ, NIFTI2_ZST, NIFTI2_BZ2, NIFTI2_PAIR, NIFTI2_PAIR_GZ, NIFTI2_PAIR_ZST, NIFTI2_PAIR_BZ2 β¨
pick one, hand it your filename, and if you're copying instead of converting in place, slide that filename2 in there too π«Ά
and that's the whole page, bestie. short, sweet, does its job, ate and left no crumbs π
this was fslchfiletype version 3.29.1, dropped August 2026 β shoutout to the FSL crew for it π mwah, bye!! πβ¨π¦
π¦ where this page comes from
- fedora 44: python3-fslpy 3.29.1-1.fc44 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms