NVCOMPRESS(1)

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

πŸ’– NVCOMPRESS(1) πŸ’–

okay bestie, gather round, because we're about to talk about nvcompress β€” that's the star of this page, from the General Commands Manual section of your local man pages. she takes your image and squishes it down into a dds file. iconic behavior, honestly. πŸŽ€


✨ NAME ✨

nvcompress β€” compresses the given image and produces a DDS file. that's it, that's the whole job, and she does it flawlessly. periodt. πŸ’…


🌸 SYNOPSIS 🌸

nvcompress [OPTION] INFILE [OUTFILE]

so you hand her some [OPTION]s, an INFILE, and maybe an OUTFILE if you're feeling generous. the rest is her problem. πŸ¦‹


🫢 DESCRIPTION 🫢

nvcompress is part of the NVIDIA texture toolset. she takes the infile you give her and compresses it into a dds file. no cap, that's literally the entire plot of this movie. πŸ’–


πŸŽ€ INPUT OPTIONS πŸŽ€

these are the vibes you tell her about your input image before she gets to work.

  • -color β€” the input image is a color map. this is the default, so if you say nothing she just assumes color. lowkey the main character setting. 🌈
  • -alpha β€” the input image has an alpha channel used for transparency. yes, the see-through situation. 🫧
  • -normal β€” the input image is a normal map. normals need special handling bestie, don't make her guess. πŸ‘‘
  • -tonormal β€” convert input to normal map. she'll do the conversion for you. ate. πŸ”₯
  • -clamp β€” clamp wrapping mode. this is the default. πŸ™ˆ
  • -repeat β€” repeat wrapping mode. go off, tile that texture. πŸ”
  • -nomips β€” disable mipmap generation. no little baby mipmaps for you today. 😭

πŸ’… COMPRESSION OPTIONS πŸ’…

now for the actual compression choices. this is the part where you pick a format and she goes absolutely feral on your file size.

  • -fast β€” fast compression. speed over perfection, we love a quick queen. ⚑
  • -nocuda β€” do not use cuda compressor. like, do not. she's respecting your boundaries. πŸ’€
  • -rgb β€” RGBA format. 🎨
  • -bc1 β€” BC1 format (DXT1). ✨
  • -bc1n β€” BC1 normal map format (DXT1nm). 🧚
  • -bc1a β€” BC1 format with binary alpha (DXT1a). πŸ“
  • -bc2 β€” BC2 format (DXT3). πŸ’œ
  • -bc3 β€” BC3 format (DXT5). 🌸
  • -bc3n β€” BC3 normal map format (DXT5nm). πŸ¦‹
  • -bc4 β€” BC4 format (ATI1). ⭐
  • -bc5 β€” BC5 format (3Dc/ATI2). πŸ‘‘
bestie, pick the format that matches what your renderer actually wants, okay? she'll happily make any of them, but she's not gonna read your shader code for you. 😌

πŸ‘‘ AUTHOR πŸ‘‘

nvcompress is part of the NVIDIA texture tools. πŸ’–

This manual page was written by Lennart Weller <lhw@ring0.de>, for the Debian project (but may be used by others). shoutout to Lennart, absolute legend, writing docs so the rest of us can thrive. 🫢


and that's the whole page, bestie!! 🌈 this one's dated January 10, 2012 and lives in the NVCOMPRESS(1) corner of your manual, so next time you need it just hit up your man pages and she'll be right there waiting for you. mwah. πŸ’‹βœ¨