XCUR2PNG(1)

πŸ’– XCUR2PNG πŸ’–

okay bestie, so you know that whole manual thing? this is xcur2png, from the General Commands Manual section, and she is literally the moment. sit down, grab a boba, and let me tell you everything ✨


🌸 NAME 🌸

xcur2png β€” takes PNG images out of an Xcursor file and generates an xcursorgen config-file. she's giving converter energy, fr fr πŸŽ€


✨ SYNOPSIS ✨

xcur2png [ -V ] [ --version ]

xcur2png [ -h ] [ --help ]

xcur2png [ -c conf-path ] [ --conf=conf-path ] [ -d dir-path ] [
--directory=dir-path ] [ -i suffix ] [ --initial-suffix=suffix ] [ -q ]
[ --quiet ] [ -n ] [ --dry-run ] Xcursor-file

πŸ¦‹ DESCRIPTION πŸ¦‹

So xcur2png takes PNG images from Xcursor-file, and then she generates a config-file that you can reuse with xcursorgen(1). put simply? she's the converter from X cursor ➑️ PNG image. main character behavior honestly πŸ’…

Xcursor-file is a path to an existent Xcursor file, okay? and multiple Xcursor-file is not supported β€” one at a time, queen, we don't do polyamory here πŸ™ˆ

the generated PNG images get saved in the current directory. periodt.


πŸ‘‘ OPTIONS πŸ‘‘

  • -V, --version β€” shows you the version number and dips out with status 0. bye bestie 🫢
  • -h, --help β€” shows you the usage message and exits with status 0. so helpful, so iconic.
  • -c conf-path, --conf=conf-path β€” sets the output path of the config-file. if you pass "-", then stdout(3) gets used instead (streaming era 🌊). if you don't specify anything, it defaults to [file name of Xcursor-file].conf. and if conf-path happens to be a directory? then the config-file gets saved under that specified directory as [file name of Xcursor-file].conf. she adapts, she slays.
  • -d dir-path, --directory=dir-path β€” sets the path of a directory where the PNG images get saved. if you don't specify it, the current directory is used. no notes.
  • -i suffix, --initial-suffix=suffix β€” sets the initial suffix of the PNG images to suffix. heads up though: suffix must be a positive integer and no more than 999. and when the suffix goes up to 999, xcur2png exits with a negative status πŸ’€ so like, know your limits bestie.
  • -q, --quiet β€” suppresses the progress message. shhh 🀫 no yapping.
  • -n, --dry-run β€” does not output PNG images and config-data to files. the config-data gets sent to stdout and the progress message is suppressed. it's giving window shopping, no receipts 🌈

πŸ’€ EXIT STATUS πŸ’€

xcur2png returns the number of output PNG images if the conversion successfully finished and the config-file was generated. that's the flex. πŸ’…

but if an error occurs, xcur2png returns negative. 😭 not the vibe, but we move.


πŸ”₯ SEE ALSO πŸ”₯


and that's the whole thing, bestie β€” no cap, you're now officially fluent in xcur2png. this lil page came from GNU, dated 2008-10-09, and it's filed under XCUR2PNG(1) like the queen she is. go convert some cursors, you've got this πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ