JPEG2JP2(1)

πŸ“¦
version 0.14.8 Β· 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

jpeg2jp2 β€” Convert JPEG to JPEG 2000. (User Commands energy, bestie πŸ’…)

πŸ’– DESCRIPTION πŸ’–

okay so bestie, here’s the whole usage vibe, no cap:

usage: jpeg2jp2 [--capture-resolution VRESC HRESC] [--display-resolution
       VRESD HRESD] [--cratio CRATIO [CRATIO ...]] [--psnr PSNR [PSNR ...]]
       [--codeblocksize cblkh cblkw] [--numres NUMRES] [--prog
       {lrcp,rlcp,rpcl,prcl,cprl}] [--irreversible] [--eph] [--plt] [--sop]
       [--num-threads NUM_THREADS] [--tilesize NROWS NCOLS]
       [--include-icc-profile] [--help] [--verbosity
       {critical,error,warning,info,debug}] jpeg jp2k

πŸ’… options: πŸ’…

  • --help, -h β€” Shows this help message and exits. iconic little exit strategy 🫢
  • --verbosity {critical,error,warning,info,debug} β€” Logging level, one of "critical", "error", "warning", "info", or "debug". (default: warning) πŸ‘‘

πŸ¦‹ JP2K: πŸ¦‹

Pass-through arguments to Jp2k, periodt. ✨

  • --capture-resolution VRESC HRESC β€” Capture resolution parameters. (default: None)
  • --display-resolution VRESD HRESD β€” Display resolution parameters. (default: None)
  • --cratio CRATIO [CRATIO ...] β€” Compression ratios for successive layers. (default: None)
  • --psnr PSNR [PSNR ...] β€” PSNR for successive 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)
  • --num-threads NUM_THREADS β€” Use this many threads/cores. (default: 1)
  • --tilesize NROWS NCOLS β€” Dimensions of JP2K tile. If not provided, the JPEG2000 image will be written as a single tile. (default: None)

πŸŽ€ JPEG: πŸŽ€

Arguments specific to conversion of JPEG imagery. πŸ“

  • --include-icc-profile β€” If specified, subsume any ICC profile found in an APP2 segment(s) into the colour specification box. (default: False)
⚠️ This will involve a file copy and is therefore a potentially costly operation. bestie, do not ignore that part 😭
  • jpeg β€” Input JPEG file.
  • jp2k β€” Output JPEG 2000 file.

xoxo, your jpeg2jp2 0.14.0 bestie, March 2025 edition πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from