conversations
listlengths
2
2
[ { "from": "human", "value": "List the contents of a `gzip` archive via the `pax` command" }, { "from": "gpt", "value": "`pax -zf {{archive.tar.gz}}`" } ]
[ { "from": "human", "value": "Create an archive from files via the `pax` command" }, { "from": "gpt", "value": "`pax -wf {{target.tar}} {{path/to/file1 path/to/file2 ...}}`" } ]
[ { "from": "human", "value": "Create an archive from files, using output redirection via the `pax` command" }, { "from": "gpt", "value": "`pax -w {{path/to/file1 path/to/file2 ...}} > {{target.tar}}`" } ]
[ { "from": "human", "value": "Extract an archive into the current directory via the `pax` command" }, { "from": "gpt", "value": "`pax -rf {{source.tar}}`" } ]
[ { "from": "human", "value": "Copy to a directory, while keeping the original metadata; `target/` must exist via the `pax` command" }, { "from": "gpt", "value": "`pax -rw {{path/to/file1}} {{path/to/directory1 path/to/directory2 ...}} {{target/}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmclean`." }, { "from": "gpt", "value": "Clean up a PBM image by erasing isolated black and white pixels.\nMore information: <https://netpbm.sourceforge.net/doc/pbmclean.html>.\n" } ]
[ { "from": "human", "value": "Clean up a PBM image by erasing isolated black and white pixels via the `pbmclean` command" }, { "from": "gpt", "value": "`pbmclean {{path/to/image.pbm}} > {{path/to/output.pbm}}`" } ]
[ { "from": "human", "value": "Clean up only black/white pixels via the `pbmclean` command" }, { "from": "gpt", "value": "`pbmclean -{{black|white}} {{path/to/image.pbm}} > {{path/to/output.pbm}}`" } ]
[ { "from": "human", "value": "Specify the minimum number of neighbouring pixels of the same color in order for a pixel not to be considered isolated via the `pbmclean` command" }, { "from": "gpt", "value": "`pbmclean {{[-m|-minneighbours]}} {{3}} {{path/to/image.pbm}} > {{path/to/output.pbm}}`" ...
[ { "from": "human", "value": "Tell me about `pbmlife`." }, { "from": "gpt", "value": "Apply Conway's Rules of Life to a PBM image.\nMore information: <https://netpbm.sourceforge.net/doc/pbmlife.html>.\n" } ]
[ { "from": "human", "value": "Apply the Rules of Life to an input PBM image file for one generation and the output the result as a PBM image file via the `pbmlife` command" }, { "from": "gpt", "value": "`pbmlife {{path/to/file.pbm}}`" } ]
[ { "from": "human", "value": "Display version via the `pbmlife` command" }, { "from": "gpt", "value": "`pbmlife {{[-v|-version]}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmmake`." }, { "from": "gpt", "value": "Create a blank bitmap.\nMore information: <https://netpbm.sourceforge.net/doc/pbmmake.html>.\n" } ]
[ { "from": "human", "value": "Create a blank bitmap of the specified dimensions via the `pbmmake` command" }, { "from": "gpt", "value": "`pbmmake {{width}} {{height}} > {{path/to/output_file.pbm}}`" } ]
[ { "from": "human", "value": "Specify the color of the created bitmap via the `pbmmake` command" }, { "from": "gpt", "value": "`pbmmake -{{white|black|grey}} {{width}} {{height}} > {{path/to/output_file.pbm}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmmask`." }, { "from": "gpt", "value": "Create a mask bitmap from a regular bitmap.\nSee also: `pambackground`.\nMore information: <https://netpbm.sourceforge.net/doc/pbmmask.html>.\n" } ]
[ { "from": "human", "value": "Create a mask bitmap separating background from foreground via the `pbmmask` command" }, { "from": "gpt", "value": "`pbmmask {{path/to/image.pbm}} > {{path/to/output.pbm}}`" } ]
[ { "from": "human", "value": "Expand the generated mask by one pixel via the `pbmmask` command" }, { "from": "gpt", "value": "`pbmmask {{[-r|-expand]}} {{path/to/image.pbm}} > {{path/to/output.pbm}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmnoise`." }, { "from": "gpt", "value": "Generate white noise.\nMore information: <https://netpbm.sourceforge.net/doc/pbmnoise.html>.\n" } ]
[ { "from": "human", "value": "Generate a PGM image containing white noise via the `pbmnoise` command" }, { "from": "gpt", "value": "`pbmnoise {{width}} {{height}} > {{path/to/output.pbm}}`" } ]
[ { "from": "human", "value": "Specify the seed for the pseudo-random number generator via the `pbmnoise` command" }, { "from": "gpt", "value": "`pbmnoise {{width}} {{height}} -randomseed {{value}} > {{path/to/output.pbm}}`" } ]
[ { "from": "human", "value": "Specify the desired rate of white to black pixels via the `pbmnoise` command" }, { "from": "gpt", "value": "`pbmnoise {{width}} {{height}} -ratio {{1/3}} > {{path/to/output.pbm}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmpage`." }, { "from": "gpt", "value": "Generate a test pattern for printing.\nMore information: <https://netpbm.sourceforge.net/doc/pbmpage.html>.\n" } ]
[ { "from": "human", "value": "Generate a test pattern for printing onto US standard paper via the `pbmpage` command" }, { "from": "gpt", "value": "`pbmpage > {{path/to/file.pbm}}`" } ]
[ { "from": "human", "value": "Generate a test pattern for printing onto A4 paper via the `pbmpage` command" }, { "from": "gpt", "value": "`pbmpage -a4 > {{path/to/file.pbm}}`" } ]
[ { "from": "human", "value": "Specify the pattern to use via the `pbmpage` command" }, { "from": "gpt", "value": "`pbmpage {{1|2|3}} > {{path/to/file.pbm}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmpscale`." }, { "from": "gpt", "value": "Enlarge a PBM image with edge smoothing.\nSee also: `pamenlarge`.\nMore information: <https://netpbm.sourceforge.net/doc/pbmpscale.html>.\n" } ]
[ { "from": "human", "value": "Enlarge a PBM image by the specified factor with edge smoothing via the `pbmpscale` command" }, { "from": "gpt", "value": "`pbmpscale {{n}} {{path/to/image.pbm}} > {{path/to/file.pbm}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmreduce`." }, { "from": "gpt", "value": "Proportionally reduce a PBM image.\nSee also: `pamenlarge`, `pamditherbw`.\nMore information: <https://netpbm.sourceforge.net/doc/pbmreduce.html>.\n" } ]
[ { "from": "human", "value": "Reduce the specified image by the specified factor via the `pbmreduce` command" }, { "from": "gpt", "value": "`pbmreduce {{n}} {{path/to/image.pbm}} > {{path/to/output.pbm}}`" } ]
[ { "from": "human", "value": "Use simple thresholding when reducing via the `pbmreduce` command" }, { "from": "gpt", "value": "`pbmreduce {{[-t|-threshold]}} {{n}} {{path/to/image.pbm}} > {{path/to/output.pbm}}`" } ]
[ { "from": "human", "value": "Use the specified threshold for all quantizations via the `pbmreduce` command" }, { "from": "gpt", "value": "`pbmreduce {{[-va|-value]}} {{0.6}} {{n}} {{path/to/image.pbm}} > {{path/to/output.pbm}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmtext`." }, { "from": "gpt", "value": "Render text as a PBM image.\nSee also: `pbmtextps`.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtext.html>.\n" } ]
[ { "from": "human", "value": "Render a single line of text as a PBM image via the `pbmtext` command" }, { "from": "gpt", "value": "`pbmtext \"{{Hello World!}}\" > {{path/to/output.pbm}}`" } ]
[ { "from": "human", "value": "Render multiple lines of text as a PBM image via the `pbmtext` command" }, { "from": "gpt", "value": "`echo \"{{Hello\\nWorld!}}\" | pbmtext > {{path/to/output.pbm}}`" } ]
[ { "from": "human", "value": "Render text using a custom font supplied as a PBM file via the `pbmtext` command" }, { "from": "gpt", "value": "`pbmtext {{[-f|-font]}} {{path/to/font.pbm}} \"{{Hello World!}}\" > {{path/to/output.pbm}}`" } ]
[ { "from": "human", "value": "Specify the number of pixels between characters and lines via the `pbmtext` command" }, { "from": "gpt", "value": "`echo \"{{Hello\\nWorld!}}\" | pbmtext {{[-s|-space]}} {{3}} {{[-ls|-lspace]}} {{10}} > {{path/to/output.pbm}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmtextps`." }, { "from": "gpt", "value": "Render text as a PBM image using PostScript.\nSee also: `pbmtext`.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtextps.html>.\n" } ]
[ { "from": "human", "value": "Render a single line of text as a PBM image via the `pbmtextps` command" }, { "from": "gpt", "value": "`pbmtextps \"{{Hello World!}}\" > {{path/to/output.pbm}}`" } ]
[ { "from": "human", "value": "Specify the font and font size via the `pbmtextps` command" }, { "from": "gpt", "value": "`pbmtextps -font {{Times-Roman}} -fontsize {{30}} \"{{Hello World!}}\" > {{path/to/output.pbm}}`" } ]
[ { "from": "human", "value": "Specify the desired left and top margins via the `pbmtextps` command" }, { "from": "gpt", "value": "`pbmtextps {{[-l|-leftmargin]}} {{70}} {{[-t|-topmargin]}} {{162}} \"{{Hello World!}}\" > {{path/to/output.pbm}}`" } ]
[ { "from": "human", "value": "Do not output the rendered text as a PBM image, but a PostScript program that would create this image via the `pbmtextps` command" }, { "from": "gpt", "value": "`pbmtextps {{[-du|-dump-ps]}} \"{{Hello World!}}\" > {{path/to/output.ps}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmto4425`." }, { "from": "gpt", "value": "Display a PBM image on an AT&T 4425 terminal.\nSee also: `ppmtoterm`, `pbmtoascii`.\nMore information: <https://netpbm.sourceforge.net/doc/pbmto4425.html>.\n" } ]
[ { "from": "human", "value": "Display a PBM image on an AT&T 4425 terminal using the terminal's mosaic graphics character set via the `pbmto4425` command" }, { "from": "gpt", "value": "`pbmto4425 {{path/to/image.pbm}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmtoascii`." }, { "from": "gpt", "value": "Convert a PBM image to ASCII graphics.\nSee also: `ppmtoascii`, `asciitopgm`, `ppmtoterm`.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtoascii.html>.\n" } ]
[ { "from": "human", "value": "Read a PBM file as input and produce an ASCII output via the `pbmtoascii` command" }, { "from": "gpt", "value": "`pbmtoascii {{path/to/input_file.pbm}}`" } ]
[ { "from": "human", "value": "Read a PBM file as input and save an ASCII output into a file via the `pbmtoascii` command" }, { "from": "gpt", "value": "`pbmtoascii {{path/to/input_file.pbm}} > {{path/to/output_file}}`" } ]
[ { "from": "human", "value": "Read a PBM file as input while setting the pixel mapping (defaults to 1x2) via the `pbmtoascii` command" }, { "from": "gpt", "value": "`pbmtoascii -{{1x2|2x4}} {{path/to/input_file.pbm}}`" } ]
[ { "from": "human", "value": "Display version via the `pbmtoascii` command" }, { "from": "gpt", "value": "`pbmtoascii {{[-v|-version]}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmtoatk`." }, { "from": "gpt", "value": "Convert a PBM image to an Andrew Toolkit raster object.\nSee also: `atktopbm`.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtoatk.html>.\n" } ]
[ { "from": "human", "value": "Convert a PBM image to an Andrew Toolkit raster object via the `pbmtoatk` command" }, { "from": "gpt", "value": "`pbmtoatk {{path/to/image.pbm}} > {{path/to/output.atk}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmtobbnbg`." }, { "from": "gpt", "value": "Convert a PBM image to a BitGraph graphic.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtobbnbg.html>.\n" } ]
[ { "from": "human", "value": "Convert a PBM image to a BitGraph terminal Display Pixel Data sequence via the `pbmtobbnbg` command" }, { "from": "gpt", "value": "`pbmtobbnbg < {{path/to/image.pbm}} > {{path/to/output.dpd}}`" } ]
[ { "from": "human", "value": "Specify the rasterop via the `pbmtobbnbg` command" }, { "from": "gpt", "value": "`pbmtobbnbg {{3}} < {{path/to/image.pbm}} > {{path/to/output.dpd}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmtocmuwm`." }, { "from": "gpt", "value": "Convert a PBM image to a CMU window manager bitmap.\nSee also: `cmuwmtopbm`.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtocmuwm.html>.\n" } ]
[ { "from": "human", "value": "Convert a PBM image to a CMU window manager bitmap via the `pbmtocmuwm` command" }, { "from": "gpt", "value": "`pbmtocmuwm {{path/to/image.pbm}} > {{path/to/output.bmp}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmtoepsi`." }, { "from": "gpt", "value": "Convert a PBM image to an encapsulated PostScript style preview bitmap.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtoepsi.html>.\n" } ]
[ { "from": "human", "value": "Convert a PBM image to an encapsulated PostScript style preview bitmap via the `pbmtoepsi` command" }, { "from": "gpt", "value": "`pbmtoepsi {{path/to/image.pbm}} > {{path/to/output.bmp}}`" } ]
[ { "from": "human", "value": "Produce a quadratic output image with the specified resolution via the `pbmtoepsi` command" }, { "from": "gpt", "value": "`pbmtoepsi {{[-d|-dpi]}} {{144}} {{path/to/image.pbm}} > {{path/to/output.bmp}}`" } ]
[ { "from": "human", "value": "Produce an output image with the specified horizontal and vertical resolution via the `pbmtoepsi` command" }, { "from": "gpt", "value": "`pbmtoepsi {{[-d|-dpi]}} {{72x144}} {{path/to/image.pbm}} > {{path/to/output.bmp}}`" } ]
[ { "from": "human", "value": "Only create a boundary box via the `pbmtoepsi` command" }, { "from": "gpt", "value": "`pbmtoepsi {{[-b|-bbonly]}} {{path/to/image.pbm}} > {{path/to/output.bmp}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmtoepson`." }, { "from": "gpt", "value": "Convert a PBM image to an Epson printer graphic.\nSee also: `pbmtoescp2`.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtoepson.html>.\n" } ]
[ { "from": "human", "value": "Convert a PBM image to an Epson printer graphic via the `pbmtoepson` command" }, { "from": "gpt", "value": "`pbmtoepson {{path/to/image.pbm}} > {{path/to/output.epson}}`" } ]
[ { "from": "human", "value": "Specify the printer protocol of the output via the `pbmtoepson` command" }, { "from": "gpt", "value": "`pbmtoepson {{[-pr|-protocol]}} {{escp9|escp}} {{path/to/image.pbm}} > {{path/to/output.epson}}`" } ]
[ { "from": "human", "value": "Specify the horizontal DPI of the output via the `pbmtoepson` command" }, { "from": "gpt", "value": "`pbmtoepson {{[-d|-dpi]}} {{60|72|80|90|120|144|240}} {{path/to/image.pbm}} > {{path/to/output.epson}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmtoescp2`." }, { "from": "gpt", "value": "Convert a PBM image to a ESC/P2 printer file.\nSee also: `pbmtoepson`, `escp2topbm`.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtoescp2.html>.\n" } ]
[ { "from": "human", "value": "Convert a PBM image to a ESC/P2 printer file via the `pbmtoescp2` command" }, { "from": "gpt", "value": "`pbmtoescp2 {{path/to/image.pbm}} > {{path/to/output.escp2}}`" } ]
[ { "from": "human", "value": "Specify the compression of the output via the `pbmtoescp2` command" }, { "from": "gpt", "value": "`pbmtoescp2 {{[-c|-compression]}} {{0|1}} {{path/to/image.pbm}} > {{path/to/output.escp2}}`" } ]
[ { "from": "human", "value": "Specify the horizontal and vertical resolution of the output in dots per inch via the `pbmtoescp2` command" }, { "from": "gpt", "value": "`pbmtoescp2 {{[-re|-resolution]}} {{180|360|720}} {{path/to/image.pbm}} > {{path/to/output.escp2}}`" } ]
[ { "from": "human", "value": "Place a formfeed command at the end of the output via the `pbmtoescp2` command" }, { "from": "gpt", "value": "`pbmtoescp2 {{[-f|-formfeed]}} {{path/to/image.pbm}} > {{path/to/output.escp2}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmtogem`." }, { "from": "gpt", "value": "Read a PBM image as input and produce a compressed GEM .img file as output.\n`pbmtogem` cannot compress repeated lines.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtogem.html>.\n" } ]
[ { "from": "human", "value": "Convert a PBM image into a GEM .img file via the `pbmtogem` command" }, { "from": "gpt", "value": "`pbmtogem {{path/to/file.pbm}} > {{path/to/file.img}}`" } ]
[ { "from": "human", "value": "Suppress all informational messages via the `pbmtogem` command" }, { "from": "gpt", "value": "`pbmtogem {{[-q|-quiet]}}`" } ]
[ { "from": "human", "value": "Display version via the `pbmtogem` command" }, { "from": "gpt", "value": "`pbmtogem {{[-v|-version]}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmtogo`." }, { "from": "gpt", "value": "Convert a PBM image to a compressed GraphOn graphic.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtogo.html>.\n" } ]
[ { "from": "human", "value": "Convert a PBM image to a compressed GraphOn graphic via the `pbmtogo` command" }, { "from": "gpt", "value": "`pbmtogo {{path/to/image.pbm}} > {{path/to/output.go}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmtoicon`." }, { "from": "gpt", "value": "This command has been superseded by `pbmtosunicon`.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtoicon.html>.\n" } ]
[ { "from": "human", "value": "View documentation for the current command via the `pbmtoicon` command" }, { "from": "gpt", "value": "`tldr pbmtosunicon`" } ]
[ { "from": "human", "value": "Tell me about `pbmtolj`." }, { "from": "gpt", "value": "Convert a PBM file to an HP LaserJet file.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtolj.html>.\n" } ]
[ { "from": "human", "value": "Convert a PBM file to an HP LaserJet file via the `pbmtolj` command" }, { "from": "gpt", "value": "`pbmtolj {{path/to/input.pbm}} > {{path/to/output.lj}}`" } ]
[ { "from": "human", "value": "Compress the output file using the specified method via the `pbmtolj` command" }, { "from": "gpt", "value": "`pbmtolj -{{packbits|delta|compress}} {{path/to/input.pbm}} > {{path/to/output.lj}}`" } ]
[ { "from": "human", "value": "Specify the required resolution via the `pbmtolj` command" }, { "from": "gpt", "value": "`pbmtolj {{[-r|-resolution]}} {{75|100|150|300|600}} {{path/to/input.pbm}} > {{path/to/output.lj}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmtomacp`." }, { "from": "gpt", "value": "Convert a PBM image to a MacPaint file.\nSee also: `macptopbm`.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtomacp.html>.\n" } ]
[ { "from": "human", "value": "Convert a PBM image to a MACP file via the `pbmtomacp` command" }, { "from": "gpt", "value": "`pbmtomacp {{path/to/image.pbm}} > {{path/to/output.macp}}`" } ]
[ { "from": "human", "value": "Do not compress the output file via the `pbmtomacp` command" }, { "from": "gpt", "value": "`pbmtomacp {{[-n|-norle]}} {{path/to/image.pbm}} > {{path/to/output.macp}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmtomda`." }, { "from": "gpt", "value": "Convert a PBM image to a Microdesign MDA file.\nSee also: `mdatopbm`.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtomda.html>.\n" } ]
[ { "from": "human", "value": "Convert a PBM image to a MDA file via the `pbmtomda` command" }, { "from": "gpt", "value": "`pbmtomda {{path/to/image.pbm}} > {{path/to/output.mda}}`" } ]
[ { "from": "human", "value": "Invert the colors in the input image via the `pbmtomda` command" }, { "from": "gpt", "value": "`pbmtomda -i {{path/to/image.pbm}} > {{path/to/output.mda}}`" } ]
[ { "from": "human", "value": "Halve the input image's height via the `pbmtomda` command" }, { "from": "gpt", "value": "`pbmtomda -d {{path/to/image.pbm}} > {{path/to/output.mda}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmtomgr`." }, { "from": "gpt", "value": "Convert a PBM image into a MGR bitmap.\nSee also: `mgrtopbm`.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtomgr.html>.\n" } ]
[ { "from": "human", "value": "Convert a PBM image into a MGR bitmap via the `pbmtomgr` command" }, { "from": "gpt", "value": "`pbmtomgr {{path/to/image.pbm}} > {{path/to/output.mgr}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmtonokia`." }, { "from": "gpt", "value": "Convert a PBM image to one of Nokia's Smart Messaging Formats .\nMore information: <https://netpbm.sourceforge.net/doc/pbmtonokia.html>.\n" } ]
[ { "from": "human", "value": "Convert a PBM image into a Nokia Operator Logo as hexcode via the `pbmtonokia` command" }, { "from": "gpt", "value": "`pbmtonokia {{[-f|-fmt]}} NEX_NOL -net {{network_operator_code}} {{path/to/image.pbm}} > {{path/to/output.hex}}`" } ]
[ { "from": "human", "value": "Convert a PBM image into a Nokia Group Graphic as hexcode via the `pbmtonokia` command" }, { "from": "gpt", "value": "`pbmtonokia {{[-f|-fmt]}} NEX_NGG {{path/to/image.pbm}} > {{path/to/output.hex}}`" } ]
[ { "from": "human", "value": "Convert a PBM image into a Nokia Picture Message with the specified text as hexcode via the `pbmtonokia` command" }, { "from": "gpt", "value": "`pbmtonokia {{[-f|-fmt]}} NEX_NPM -txt {{text_message}} {{path/to/image.pbm}} > {{path/to/output.hex}}`" } ]
[ { "from": "human", "value": "Convert a PBM image into a Nokia Operator Logo as a NOL file via the `pbmtonokia` command" }, { "from": "gpt", "value": "`pbmtonokia {{[-f|-fmt]}} NOL {{path/to/image.pbm}} > {{path/to/output.nol}}`" } ]
[ { "from": "human", "value": "Convert a PBM image into a Nokia Group Graphic as an NGG file via the `pbmtonokia` command" }, { "from": "gpt", "value": "`pbmtonokia {{[-f|-fmt]}} NGG {{path/to/image.pbm}} > {{path/to/output.ngg}}`" } ]
[ { "from": "human", "value": "Convert a PBM image into a Nokia Picture Message as an NPM file via the `pbmtonokia` command" }, { "from": "gpt", "value": "`pbmtonokia {{[-f|-fmt]}} NPM {{path/to/image.pbm}} > {{path/to/output.npm}}`" } ]
[ { "from": "human", "value": "Tell me about `pbmtopgm`." }, { "from": "gpt", "value": "Convert a PBM image to PGM by averaging areas surrounding individual pixels.\nSee also: `pnmconvol`, `pamditherbw`.\nMore information: <https://netpbm.sourceforge.net/doc/pbmtopgm.html>.\n" } ]
[ { "from": "human", "value": "Convert PBM image to PGM by averaging the `w`x`h`-sized area surrounding each pixel via the `pbmtopgm` command" }, { "from": "gpt", "value": "`pbmtopgm {{w}} {{h}} {{path/to/image.pbm}} > {{path/to/output.pgm}}`" } ]