PBMTOCIS(1)
π pbmtocis β a lil' manual page, but make it a group chat
okay so bestie, buckle up, because this is the Pbmtocis User Manual, from the General Commands Manual section, and it's lowkey iconic π
β¨ NAME β¨
pbmtocis β convert a PBM image to a CompuServe RLE image
like... it takes one kinda image and gives you the other kinda image. that's the whole job. she's simple, she's efficient, she eats π
πΈ SYNOPSIS πΈ
pbmtocis [-i] [-w] [cisfile]
that's it. that's the whole vibe. two lil flags and an optional file name, no cap π«Ά
π DESCRIPTION π
okay so first things first: this program is part of Netpbm(1) β you know, the whole fam. she's not out here alone, she's got sisters π
pbmtocis reads a PBM image as input and produces a CompuServe RLE image as output. in through the front door, out through the back, slay β¨
now here's the tea about sizes, and you NEED to know this β A CompuServe RLE image can be either 128 x 96 pixels or 256 x 192 pixels. that's it. those are the only two fits she owns. no in-between, no custom sizing, periodt.
so what happens when your image doesn't match? okay so:
- if there's anything in excess on the right or bottom, it gets cropped. chopped. gone. bye π
- if the width or height is insufficient, padding is added on the right or bottom so it fills out the frame.
bestie if you want better control of the size adjustment, don't just rawdog it β go usepamcutorpnmpadfirst. they're the ones with the actual βοΈ scissors and π§½ padding skills. this program is just doing the bare minimum to make it fit, fr fr.
π OPTIONS π
besides the options common to all programs based on libnetpbm (most notably -quiet, see Common Options in the libnetpbm manual), pbmtocis recognizes these two lil cuties:
-iβ Inverse: reverses the mapping of foreground/background to black/white. basically she flips the lights π‘ like, what was dark is light now, what was light is dark. iconic behavior.-wβ if the input image is smaller than the fixed size of the output image, pad with white pixels rather than black. so instead of filling the empty space with darkness, you're filling it with light π€ cute, soft, angelic.
π¦ SEE ALSO π¦
go check out her friends, they're all so valid:
cistopbm(1)β the reverse queen πpamcut(1)β for when you need to actually crop with intentionpnmpad(1)β for when you need to actually pad with intentionpbm(1)β and also, the CompuServe RLE file format itself, if you wanna get into the lore π
π HISTORY π
pbmtocis was new in Netpbm 10.48 (September 2009). so she's been out here serving since 2009, a true veteran, a legend, we respect the elders π
π«Ά AUTHOR π«Ά
Copyright (C) 2009 John Elliot <jce@seasip.demon.co.uk>
ty for your service sir, we appreciate you π«‘β¨
π§ 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/pbmtocis.html
like yes, she was born from HTML, the makeman tool did that, and the real original lives at that URL. go pay her a visit sometime π π
and that's the whole page bestie, you ate that reading it π½οΈπ this was netpbm documentation, dated 13 August 2020, and it's officially the Pbmtocis User Manual(1). go convert some PBM images, you've got this, mwah ππβ¨
π¦ where this page comes from
- debian bookworm: netpbm 2:11.01.00-2 Β· MIT
- debian trixie: netpbm 2:11.10.02-1 Β· MIT
- ubuntu noble: netpbm 2:11.05.02-1.1build1 Β· MIT
- ubuntu resolute: netpbm 2:11.10.02-1build1 Β· MIT
- ubuntu stonking: netpbm 2:11.13.03+ds-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms