conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Convert a Mercator projection worldmap to rectangular projection via the `pnmmercator` command"
},
{
"from": "gpt",
"value": "`pnmmercator {{[-i|-inverse]}} {{path/to/image.pnm}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pnmmontage`."
},
{
"from": "gpt",
"value": "Create a montage from multiple PNM images.\nMore information: <https://netpbm.sourceforge.net/doc/pnmmontage.html>.\n"
}
] |
[
{
"from": "human",
"value": "Produce a packing of the specified images via the `pnmmontage` command"
},
{
"from": "gpt",
"value": "`pnmmontage {{path/to/image1.pnm path/to/image2.pnm ...}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Specify the quality of the packing (Note: larger values produce smaller packings but take longer to compute.) via the `pnmmontage` command"
},
{
"from": "gpt",
"value": "`pnmmontage -{{0..9}} {{path/to/image1.pnm path/to/image2.pnm ...}} > {{path/to/output.pnm}}`"
... |
[
{
"from": "human",
"value": "Produce a packing that is not larger than `p` percent of the optimal packing via the `pnmmontage` command"
},
{
"from": "gpt",
"value": "`pnmmontage {{[-qua|-quality]}} {{p}} {{path/to/image1.pnm path/to/image2.pnm ...}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Write the positions of the input files within the packed image to a machine-readable file via the `pnmmontage` command"
},
{
"from": "gpt",
"value": "`pnmmontage {{[-d|-data]}} {{path/to/datafile}} {{path/to/image1.pnm path/to/image2.pnm ...}} > {{path/to/output.pnm}... |
[
{
"from": "human",
"value": "Tell me about `pnmnlfilt`."
},
{
"from": "gpt",
"value": "Apply a non-linear filter onto a PNM image.\nMore information: <https://netpbm.sourceforge.net/doc/pnmnlfilt.html>.\n"
}
] |
[
{
"from": "human",
"value": "Apply the \"alpha trimmed mean\" filter with the specified alpha and radius values onto the PNM image via the `pnmnlfilt` command"
},
{
"from": "gpt",
"value": "`pnmnlfilt {{0.0..0.5}} {{radius}} {{path/to/image.pnm}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Apply the \"optimal estimation smoothing\" filter with the specified noise threshold and radius onto the PNM image via the `pnmnlfilt` command"
},
{
"from": "gpt",
"value": "`pnmnlfilt {{1.0..2.0}} {{radius}} {{path/to/image.pnm}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Apply the \"edge enhancement\" filter with the specified alpha and radius onto the PNM image via the `pnmnlfilt` command"
},
{
"from": "gpt",
"value": "`pnmnlfilt {{-0.9..(-0.1)}} {{radius}} {{path/to/image.pnm}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pnmnorm`."
},
{
"from": "gpt",
"value": "Normalize the contrast in a PNM image.\nSee also: `pnmhisteq`.\nMore information: <https://netpbm.sourceforge.net/doc/pnmnorm.html>.\n"
}
] |
[
{
"from": "human",
"value": "Force the brightest pixels to be white, the darkest pixels to be black and spread out the ones in between linearly via the `pnmnorm` command"
},
{
"from": "gpt",
"value": "`pnmnorm {{path/to/image.pnm}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Force the brightest pixels to be white, the darkest pixels to be black and spread out the ones in between quadratically such that pixels with a brightness of `n` become 50 % bright via the `pnmnorm` command"
},
{
"from": "gpt",
"value": "`pnmnorm {{[-midv|-midvalue]}... |
[
{
"from": "human",
"value": "Keep the pixels' hue, only modify the brightness via the `pnmnorm` command"
},
{
"from": "gpt",
"value": "`pnmnorm {{[-k|-keephues]}} {{path/to/image.pnm}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Specify a method to calculate a pixel's brightness via the `pnmnorm` command"
},
{
"from": "gpt",
"value": "`pnmnorm -{{luminosity|colorvalue|saturation}} {{path/to/image.pnm}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pnmpad`."
},
{
"from": "gpt",
"value": "Add borders to a PNM image.\nSee also: `pnmmargin`, `pamcut`, `pamcomp`.\nMore information: <https://netpbm.sourceforge.net/doc/pnmpad.html>.\n"
}
] |
[
{
"from": "human",
"value": "Add borders of the specified sizes to the image via the `pnmpad` command"
},
{
"from": "gpt",
"value": "`pnmpad {{[-l|-left]}} {{100}} {{[-ri|-right]}} {{150}} {{[-t|-top]}} {{123}} {{[-bo|-bottom]}} {{456}} {{path/to/image.pnm}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Pad the image to the specified size via the `pnmpad` command"
},
{
"from": "gpt",
"value": "`pnmpad {{[-wi|-width]}} {{1000}} {{[-he|-height]}} {{500}} {{path/to/image.pnm}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Pad the width of the image to the specified size, controlling the ratio between right and left padding via the `pnmpad` command"
},
{
"from": "gpt",
"value": "`pnmpad {{[-wi|-width]}} {{1000}} {{[-ha|-halign]}} {{0.7}} {{path/to/image.pnm}} > {{path/to/output.pnm}}`"... |
[
{
"from": "human",
"value": "Pad the width of the image using the specified color via the `pnmpad` command"
},
{
"from": "gpt",
"value": "`pnmpad {{[-wi|-width]}} {{1000}} {{[-c|-color]}} {{red}} {{path/to/image.pnm}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pnmpaste`."
},
{
"from": "gpt",
"value": "Paste a PNM image into another PNM image.\nMore information: <https://netpbm.sourceforge.net/doc/pnmpaste.html>.\n"
}
] |
[
{
"from": "human",
"value": "Paste a PNM image into another PNM image at the specified coordinates via the `pnmpaste` command"
},
{
"from": "gpt",
"value": "`pnmpaste {{x}} {{y}} {{path/to/image1.pnm}} {{path/to/image2.pnm}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Paste the image read from `stdin` into the specified image via the `pnmpaste` command"
},
{
"from": "gpt",
"value": "`{{command}} | pnmpaste {{x}} {{y}} {{path/to/image.pnm}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Combine the overlapping pixels by the specified boolean operation, where white pixels represent `true` while black pixels represent `false` via the `pnmpaste` command"
},
{
"from": "gpt",
"value": "`pnmpaste -{{and|nand|or|nor|xor|xnor}} {{x}} {{y}} {{path/to/image1.... |
[
{
"from": "human",
"value": "Tell me about `pnmpsnr`."
},
{
"from": "gpt",
"value": "Compute the difference between two images.\nMore information: <https://netpbm.sourceforge.net/doc/pnmpsnr.html>.\n"
}
] |
[
{
"from": "human",
"value": "Compute the difference, i.e. the peak signal-to-noise ratio (PSNR) between two images via the `pnmpsnr` command"
},
{
"from": "gpt",
"value": "`pnmpsnr {{path/to/file1.pnm}} {{path/to/file2.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Compare the color components rather than the luminance and chrominance components of the images via the `pnmpsnr` command"
},
{
"from": "gpt",
"value": "`pnmpsnr {{path/to/file1.pnm}} {{path/to/file2.pnm}} -rgb`"
}
] |
[
{
"from": "human",
"value": "Run in comparison mode, i.e. only output `nomatch` or `match` depending on whether the computing PSNR exceeds `n` or not via the `pnmpsnr` command"
},
{
"from": "gpt",
"value": "`pnmpsnr {{path/to/file1.pnm}} {{path/to/file2.pnm}} -target {{n}}`"
}
] |
[
{
"from": "human",
"value": "Run in comparison mode and compare the individual image components, i.e. Y, Cb, and Cr, to the corresponding thresholds via the `pnmpsnr` command"
},
{
"from": "gpt",
"value": "`pnmpsnr {{path/to/file1.pnm}} {{path/to/file2.pnm}} -target1 {{threshold_Y}} -target2 {{t... |
[
{
"from": "human",
"value": "Run in comparison mode and compare the individual image components, i.e. red, green, and blue to the corresponding thresholds via the `pnmpsnr` command"
},
{
"from": "gpt",
"value": "`pnmpsnr {{path/to/file1.pnm}} {{path/to/file2.pnm}} -rgb -target1 {{threshold_red}}... |
[
{
"from": "human",
"value": "Produce machine-readable output via the `pnmpsnr` command"
},
{
"from": "gpt",
"value": "`pnmpsnr {{path/to/file1.pnm}} {{path/to/file2.pnm}} -machine`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pnmquantall`."
},
{
"from": "gpt",
"value": "Run `pnmquant` on multiple files at once such that they share a common colormap.\nSee also: `pnmquant`.\nMore information: <https://netpbm.sourceforge.net/doc/pnmquantall.html>.\n"
}
] |
[
{
"from": "human",
"value": "Run `pnmquant` on multiple files with the specified parameters, overwriting the original files via the `pnmquantall` command"
},
{
"from": "gpt",
"value": "`pnmquantall {{n_colors}} {{path/to/input1.pnm path/to/input2.pnm ...}}`"
}
] |
[
{
"from": "human",
"value": "Save the quantised images to files named the same as the input files, but with the specified extension appended via the `pnmquantall` command"
},
{
"from": "gpt",
"value": "`pnmquantall {{[-e|-ext]}} {{extension}} {{n_colors}} {{path/to/input1.pnm path/to/input2.pnm ... |
[
{
"from": "human",
"value": "Tell me about `pnmquant`."
},
{
"from": "gpt",
"value": "Quantize the colors in a PNM image into a smaller set.\nThis command is a combination of `pnmcolormap` and `pnmremap` and accepts the union of their options, except `-mapfile`.\nSee also: `pnmquantall`.\nMore i... |
[
{
"from": "human",
"value": "Generate an image using only `n_colors` or less colors as close as possible to the input image via the `pnmquant` command"
},
{
"from": "gpt",
"value": "`pnmquant {{n_colors}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pnmremap`."
},
{
"from": "gpt",
"value": "Replace the colors in a PNM image.\nMore information: <https://netpbm.sourceforge.net/doc/pnmremap.html>.\n"
}
] |
[
{
"from": "human",
"value": "Replace the colors in an image with those in the specified color palette via the `pnmremap` command"
},
{
"from": "gpt",
"value": "`pnmremap {{[-ma|-mapfile]}} {{path/to/palette_file.ppm}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Use Floyd-Steinberg dithering for representing colors missing in the color palette via the `pnmremap` command"
},
{
"from": "gpt",
"value": "`pnmremap {{[-ma|-mapfile]}} {{path/to/palette_file.ppm}} {{[-fs|-floyd]}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`"
... |
[
{
"from": "human",
"value": "Use the first color in the palette for representing colors missing in the color palette via the `pnmremap` command"
},
{
"from": "gpt",
"value": "`pnmremap {{[-ma|-mapfile]}} {{path/to/palette_file.ppm}} {{[-fi|-firstisdefault]}} {{path/to/input.pnm}} > {{path/to/out... |
[
{
"from": "human",
"value": "Use the specified color for representing colors missing in the color palette via the `pnmremap` command"
},
{
"from": "gpt",
"value": "`pnmremap {{[-ma|-mapfile]}} {{path/to/palette_file.ppm}} {{[-m|-missingcolor]}} {{color}} {{path/to/input.pnm}} > {{path/to/output.... |
[
{
"from": "human",
"value": "Tell me about `pnmrotate`."
},
{
"from": "gpt",
"value": "Rotate a PNM image.\nMore information: <https://netpbm.sourceforge.net/doc/pnmrotate.html>.\n"
}
] |
[
{
"from": "human",
"value": "Rotate a PNM image by some angle (measured in degrees, counter-clockwise) via the `pnmrotate` command"
},
{
"from": "gpt",
"value": "`pnmrotate {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Specify the background color exposed by rotating the input image via the `pnmrotate` command"
},
{
"from": "gpt",
"value": "`pnmrotate {{[-b|-background]}} {{color}} {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Disable anti-aliasing, improving performance but decreasing quality via the `pnmrotate` command"
},
{
"from": "gpt",
"value": "`pnmrotate {{[-n|-noantialias]}} {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pnmscalefixed`."
},
{
"from": "gpt",
"value": "Scale a PNM file quickly with possibly reduced quality.\nSee also: `pamscale`.\nMore information: <https://netpbm.sourceforge.net/doc/pnmscalefixed.html>.\n"
}
] |
[
{
"from": "human",
"value": "Scale an image such that the result has the specified dimensions via the `pnmscalefixed` command"
},
{
"from": "gpt",
"value": "`pnmscalefixed {{[-w|-width]}} {{width}} {{[-h|-height]}} {{height}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Scale an image such that the result has the specified width, keeping the aspect ratio via the `pnmscalefixed` command"
},
{
"from": "gpt",
"value": "`pnmscalefixed {{[-w|-width]}} {{width}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Scale an image such that its width and height is changed by the specified factors via the `pnmscalefixed` command"
},
{
"from": "gpt",
"value": "`pnmscalefixed {{[-xsc|-xscale]}} {{x_factor}} {{[-ysc|-yscale]}} {{y_factor}} {{path/to/input.pnm}} > {{path/to/output.pn... |
[
{
"from": "human",
"value": "Tell me about `pnmscale`."
},
{
"from": "gpt",
"value": "This command has been replaced by `pamscale`.\nMore information: <https://netpbm.sourceforge.net/doc/pnmscale.html>.\n"
}
] |
[
{
"from": "human",
"value": "View documentation for `pamscale` via the `pnmscale` command"
},
{
"from": "gpt",
"value": "`tldr pamscale`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pnmshear`."
},
{
"from": "gpt",
"value": "Shear a PNM image.\nMore information: <https://netpbm.sourceforge.net/doc/pnmshear.html>.\n"
}
] |
[
{
"from": "human",
"value": "Shear a PNM image by the specified angle via the `pnmshear` command"
},
{
"from": "gpt",
"value": "`pnmshear {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Specify the color of the background in the sheared image via the `pnmshear` command"
},
{
"from": "gpt",
"value": "`pnmshear {{[-b|-background]}} {{blue}} {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Do not perform anti-aliasing via the `pnmshear` command"
},
{
"from": "gpt",
"value": "`pnmshear {{[-n|-noantialias]}} {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pnmsmooth`."
},
{
"from": "gpt",
"value": "Smooth out a PNM image.\nMore information: <https://netpbm.sourceforge.net/doc/pnmsmooth.html>.\n"
}
] |
[
{
"from": "human",
"value": "Smooth out a PNM image using a convolution matrix of size 3x3 via the `pnmsmooth` command"
},
{
"from": "gpt",
"value": "`pnmsmooth {{path/to/input.pnm}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Smooth out a PNM image using a convolution matrix of size width times height via the `pnmsmooth` command"
},
{
"from": "gpt",
"value": "`pnmsmooth {{[-w|-width]}} {{width}} {{[-h|-height]}} {{height}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pnmsplit`."
},
{
"from": "gpt",
"value": "This command has been superseded by `pamsplit`.\nMore information: <https://netpbm.sourceforge.net/doc/pnmsplit.html>.\n"
}
] |
[
{
"from": "human",
"value": "View documentation for the current command via the `pnmsplit` command"
},
{
"from": "gpt",
"value": "`tldr pamsplit`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pnmtile`."
},
{
"from": "gpt",
"value": "Replicate an image to fill a specified area.\nMore information: <https://netpbm.sourceforge.net/doc/pnmtile.html>.\n"
}
] |
[
{
"from": "human",
"value": "Replicate an image to fill an area of the specified dimensions via the `pnmtile` command"
},
{
"from": "gpt",
"value": "`pnmtile {{width}} {{height}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pnmtoddif`."
},
{
"from": "gpt",
"value": "Convert a PNM image to a DDIF image file.\nMore information: <https://netpbm.sourceforge.net/doc/pnmtoddif.html>.\n"
}
] |
[
{
"from": "human",
"value": "Convert a PNM image to a DDIF image file via the `pnmtoddif` command"
},
{
"from": "gpt",
"value": "`pnmtoddif {{path/to/image.pnm}} > {{path/to/image.ddif}}`"
}
] |
[
{
"from": "human",
"value": "Explicitly specify the horizontal and vertical resolution of the output image via the `pnmtoddif` command"
},
{
"from": "gpt",
"value": "`pnmtoddif {{[-r|-resolution]}} {{horizontal_dpi}} {{vertical_dpi}} {{path/to/image.pnm}} > {{path/to/image.ddif}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pnmtofiasco`."
},
{
"from": "gpt",
"value": "Convert a PNM image to a compressed FIASCO file.\nMore information: <https://netpbm.sourceforge.net/doc/pnmtofiasco.html>.\n"
}
] |
[
{
"from": "human",
"value": "Convert a PNM image to a compressed FIASCO file via the `pnmtofiasco` command"
},
{
"from": "gpt",
"value": "`pnmtofiasco {{path/to/file.pnm}} > {{path/to/file.fiasco}}`"
}
] |
[
{
"from": "human",
"value": "Specify the input files through a pattern via the `pnmtofiasco` command"
},
{
"from": "gpt",
"value": "`pnmtofiasco {{[-i|--image-name]}} \"{{img[01-09+1].pnm}}\" > {{path/to/file.fiasco}}`"
}
] |
[
{
"from": "human",
"value": "Specify the compression quality via the `pnmtofiasco` command"
},
{
"from": "gpt",
"value": "`pnmtofiasco {{[-qua|--quality]}} {{quality_level}} {{path/to/file.pnm}} > {{path/to/file.fiasco}}`"
}
] |
[
{
"from": "human",
"value": "Load the options to be used from the specified configuration file via the `pnmtofiasco` command"
},
{
"from": "gpt",
"value": "`pnmtofiasco {{[-f|--config]}} {{path/to/fiascorc}} {{path/to/file.pnm}} > {{path/to/file.fiasco}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pnmtofits`."
},
{
"from": "gpt",
"value": "This command has been superseded by `pamtofits`.\nMore information: <https://netpbm.sourceforge.net/doc/pnmtofits.html>.\n"
}
] |
[
{
"from": "human",
"value": "View documentation for the current command via the `pnmtofits` command"
},
{
"from": "gpt",
"value": "`tldr pamtofits`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pnmtojpeg`."
},
{
"from": "gpt",
"value": "Convert a PNM image file to the JPEG/JFIF/EXIF image format.\nMore information: <https://netpbm.sourceforge.net/doc/pnmtojpeg.html>.\n"
}
] |
[
{
"from": "human",
"value": "Read a PNM image as input and produce a JPEG/JFIF/EXIF image as output via the `pnmtojpeg` command"
},
{
"from": "gpt",
"value": "`pnmtojpeg {{path/to/file.pnm}} > {{path/to/file.jpg}}`"
}
] |
[
{
"from": "human",
"value": "Display version via the `pnmtojpeg` command"
},
{
"from": "gpt",
"value": "`pnmtojpeg -version`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pnmtopalm`."
},
{
"from": "gpt",
"value": "Convert a PNM image to a Palm bitmap.\nMore information: <https://netpbm.sourceforge.net/doc/pnmtopalm.html>.\n"
}
] |
[
{
"from": "human",
"value": "Convert a PNM image to a Palm bitmap via the `pnmtopalm` command"
},
{
"from": "gpt",
"value": "`pnmtopalm {{path/to/file.pnm}} > {{path/to/file.palm}}`"
}
] |
[
{
"from": "human",
"value": "Specify the color depth of the resulting bitmap via the `pnmtopalm` command"
},
{
"from": "gpt",
"value": "`pnmtopalm {{[-dep|-depth]}} {{1|2|4|8|16}} {{path/to/file.pnm}} > {{path/to/file.palm}}`"
}
] |
[
{
"from": "human",
"value": "Choose a compression method for the resulting bitmap via the `pnmtopalm` command"
},
{
"from": "gpt",
"value": "`pnmtopalm -{{scanline_compression|rle_compression|packbits_compression}} {{path/to/file.pnm}} > {{path/to/file.palm}}`"
}
] |
[
{
"from": "human",
"value": "Build a custom colormap and include it in the resulting bitmap via the `pnmtopalm` command"
},
{
"from": "gpt",
"value": "`pnmtopalm {{[-c|-colormap]}} {{path/to/file.pnm}} > {{path/to/file.palm}}`"
}
] |
[
{
"from": "human",
"value": "Specify the bitmap's density via the `pnmtopalm` command"
},
{
"from": "gpt",
"value": "`pnmtopalm {{[-den|-density]}} {{72|108|144|216|288}} {{path/to/file.pnm}} > {{path/to/file.palm}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pnmtopclxl`."
},
{
"from": "gpt",
"value": "Convert a PNM file to an HP LaserJet PCL XL printer stream.\nMore information: <https://netpbm.sourceforge.net/doc/pnmtopclxl.html>.\n"
}
] |
[
{
"from": "human",
"value": "Convert PNM files to an HP LaserJet PCL XL printer stream via the `pnmtopclxl` command"
},
{
"from": "gpt",
"value": "`pnmtopclxl {{path/to/input1.pnm path/to/input2.pnm ...}} > {{path/to/output.pclxl}}`"
}
] |
[
{
"from": "human",
"value": "Specify the resolution of the image as well as the location of the page from the upper left corner of each image via the `pnmtopclxl` command"
},
{
"from": "gpt",
"value": "`pnmtopclxl -dpi {{resolution}} {{[-x|-xoffs]}} {{x_offset}} {{[-y|-yoffs]}} {{y_offset}} {{pa... |
[
{
"from": "human",
"value": "Generate a duplex printer stream for the specified paper format via the `pnmtopclxl` command"
},
{
"from": "gpt",
"value": "`pnmtopclxl {{[-du|-duplex]}} {{vertical|horizontal}} {{[-fo|-format]}} {{letter|legal|a3|a4|a5|...}} {{path/to/input1.pnm path/to/input2.pnm .... |
[
{
"from": "human",
"value": "Tell me about `pnmtoplainpnm`."
},
{
"from": "gpt",
"value": "This command is an alias of `pamtopnm -plain`.\n"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command via the `pnmtoplainpnm` command"
},
{
"from": "gpt",
"value": "`tldr pamtopnm`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pnmtopng`."
},
{
"from": "gpt",
"value": "Convert a PNM image file to PNG image format.\nMore information: <https://netpbm.sourceforge.net/doc/pnmtopng.html>.\n"
}
] |
[
{
"from": "human",
"value": "Read a PNM image as input and produce a PNG image as output via the `pnmtopng` command"
},
{
"from": "gpt",
"value": "`pnmtopng {{path/to/file.pnm}} > {{path/to/file.png}}`"
}
] |
[
{
"from": "human",
"value": "Display version via the `pnmtopng` command"
},
{
"from": "gpt",
"value": "`pnmtopng {{[-vers|-version]}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pnmtopnm`."
},
{
"from": "gpt",
"value": "This command is an alias of `pamtopnm`.\n"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command via the `pnmtopnm` command"
},
{
"from": "gpt",
"value": "`tldr pamtopnm`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pnmtops`."
},
{
"from": "gpt",
"value": "Convert a PNM image to a PostScript file.\nMore information: <https://netpbm.sourceforge.net/doc/pnmtops.html>.\n"
}
] |
[
{
"from": "human",
"value": "Convert a PNM image to a PS file via the `pnmtops` command"
},
{
"from": "gpt",
"value": "`pnmtops {{path/to/file.pnm}} > {{path/to/file.ps}}`"
}
] |
[
{
"from": "human",
"value": "Specify the dimensions of the output image in inches via the `pnmtops` command"
},
{
"from": "gpt",
"value": "`pnmtops {{[-imagew|-imagewidth]}} {{imagewidth}} {{[-imageh|-imageheight]}} {{imageheight}} {{path/to/file.pnm}} > {{path/to/file.ps}}`"
}
] |
[
{
"from": "human",
"value": "Specify the dimensions of the page the output image resides on in inches via the `pnmtops` command"
},
{
"from": "gpt",
"value": "`pnmtops {{[-w|-width]}} {{width}} {{[-h|-height]}} {{height}} {{path/to/file.pnm}} > {{path/to/file.ps}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pnmtorast`."
},
{
"from": "gpt",
"value": "Convert a PNM file to a Sun rasterfile.\nMore information: <https://netpbm.sourceforge.net/doc/pnmtorast.html>.\n"
}
] |
[
{
"from": "human",
"value": "Convert a PNM image to a RAST image via the `pnmtorast` command"
},
{
"from": "gpt",
"value": "`pnmtorast {{path/to/input.pnm}} > {{path/to/output.rast}}`"
}
] |
[
{
"from": "human",
"value": "Force either `RT_STANDARD` or `RT_BYTE_ENCODED` form for the output via the `pnmtorast` command"
},
{
"from": "gpt",
"value": "`pnmtorast -{{standard|rle}} {{path/to/input.pnm}} > {{path/to/output.rast}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `pnmtorle`."
},
{
"from": "gpt",
"value": "Convert a PNM file to an Utah Raster Tools RLE image file.\nMore information: <https://netpbm.sourceforge.net/doc/pnmtorle.html>.\n"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.