XIMTOPPM(1)

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

✨ XIMTOPPM(1) ✨

okay bestie, welcome to the Ximtoppm User Manual, section 1 of the general commands manual πŸ’– pull up a chair, this one's short and sweet.


🌸 NAME 🌸

ximtoppm β€” convert an Xim file to a PPM image πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

ximtoppm

[--alphaout={alpha-filename,-}] [ximfile]

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so first thing you need to know: this program is part of Netpbm(1). family reunion energy fr fr 🫢

ximtoppm reads an Xim file as input and produces a PPM image as output. that's the whole vibe. πŸ’…

and for the lore girlies: the Xim toolkit is included in the contrib tree of the X.V11R4 release. iconic historical moment, no cap πŸ“œβœ¨


πŸ’– OPTIONS πŸ’–

so in addition to the options common to all programs based on libnetpbm β€” most notably -quiet, see Common Options β€” ximtoppm recognizes the following command line option:

✨ friendly reminder: you can abbreviate any option to its shortest unique prefix. lil shortcut, we love her πŸ₯°
  • --alphaout=alpha-filename β€” this makes ximtoppm create a PGM file holding the transparency channel values from the input image. and if the input image doesn't even have a transparency channel? the alpha-filename file just contains all zero (transparent) transparency values. mood: empty but honest 😭
    • if you don't specify --alphaout, ximtoppm does not generate a transparency file at all, and if the input image does have a transparency channel, ximtoppm simply discards it. bye bestie πŸ‘‹πŸ’€
    • if you specify - as the filename, ximtoppm writes the transparency output to Standard Output and discards the image. so pick a lane, basically πŸš€
    • okay but real talk, plot twist: an Xim image can actually contain an arbitrary fourth channel β€” it need not be a transparency channel at all. ximtoppm extracts any fourth channel it finds, exactly as described above; it doesn't matter if it's a transparency channel or not. it does not care. it does not ask questions 🧚
    • see pamcomp(1) for one way to use the transparency output file ✨

🌈 SEE ALSO 🌈


🧚 AUTHOR 🧚

Copyright (C) 1991 by Jef Poskanzer. πŸ’œ


πŸ“ DOCUMENT SOURCE πŸ“

This manual page was generated by the Netpbm tool makeman from HTML source. The master documentation is at

http://netpbm.sourceforge.net/doc/ximtoppm.html

and that's the whole page bestie, you ate that πŸŽ€πŸ’… sending you off with the official vibes: netpbm documentation, 02 April 2000 β€” Ximtoppm User Manual(1). periodt. πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from