USAGE:(1)

πŸ“¦
version 0.14.8 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

okay so bestie, this manual page is USAGE:(1), and the little command she's serving up is tiff2jp2 β€” she converts TIFF to JPEG 2000. that's it, that's the whole job, and she does it flawlessly πŸ’…


✨ DESCRIPTION ✨

here's the whole vibe, exactly as she runs:

usage: tiff2jp2 [-h] [--tilesize h w]
              [--verbosity {critical,error,warning,info,debug}] [--cratio
              CRATIO] [--psnr PSNR] [--codeblocksize cblkh cblkw] [--numres
              NUMRES] [--prog {lrcp,rlcp,rpcl,prcl,cprl}] [--irreversible]
              [--eph] [--plt] [--sop] [--nouuid] tifffile jp2kfile

and what do we do with all that? Convert TIFF to JPEG 2000. iconic. no notes πŸ¦‹

positional arguments

  • tifffile, jp2kfile β€” the two things you gotta hand over, no skipping, no cap.

optional arguments

  • -h, --help β€” shows this exact help message and then dips out. (default: does the cute thing and exits)
  • --tilesize h w β€” dimensions of the JP2K tile. (default: None)
  • --verbosity {critical,error,warning,info,debug} β€” logging level, and she means one of "critical", "error", "warning", "info", or "debug". that's the menu, pick one. (default: warning)
  • --cratio CRATIO β€” compression ratio for successive layers. you may specify this more than once to get multiple layers, bestie β€” stack 'em. (default: None)
  • --psnr PSNR β€” PSNR for successive layers. and yeah, same deal, say it more than once and you get multiple layers. (default: None)
  • --codeblocksize cblkh cblkw β€” codeblock size. (default: None)
  • --numres NUMRES β€” number of decomposition levels. (default: 6)
  • --prog {lrcp,rlcp,rpcl,prcl,cprl} β€” progression order. (default: lrcp)
  • --irreversible β€” use irreversible 9x7 transform. (default: False)
  • --eph β€” generate EPH markers. (default: False)
  • --plt β€” generate PLT markers. (default: False)
  • --sop β€” generate SOP markers. (default: False)
  • --nouuid β€” do not create UUID box for TIFF metadata. (default: True)

k so real talk, the way that you normally should at least provide the tilesize argument, okay? like please do that. because tiff2jp2 will NOT automatically use the TIFF tile dimensions (if tiled). she will not guess. she will not intuit. you gotta tell her. fr fr 😭

and if you fumble it, she hits you with this again:

              [--verbosity {critical,error,warning,info,debug}] [--cratio
              CRATIO] [--psnr PSNR] [--codeblocksize cblkh cblkw] [--numres
              NUMRES] [--prog {lrcp,rlcp,rpcl,prcl,cprl}] [--irreversible]
              [--eph] [--plt] [--sop] [--nouuid] tifffile jp2kfile
tiff2jp2: error: the following arguments are required: tifffile,
       jp2kfile

yeah. she said what she said. two required args, no exceptions, periodt πŸ’€


🌈 SEE ALSO 🌈

the full documentation for usage: is maintained as a Texinfo manual, which is giving very ✨archival✨ of her. if the info and usage: programs are properly installed at your site, this command

info usage:

should give you access to the complete manual. go read it, bestie, she wrote a lot 🫢


k that's the whole page!! this was usage: tiff2jp2 [-h] [--tiles..., sourced from way back in November 2021, filed under USAGE:(1). living her best archival life and still converting TIFFs to JPEG 2000 like a queen πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from