pnmcrop
Crop PNM images. More information: https://netpbm.sourceforge.net/doc/pnmcrop.html.
- Remove white borders on a PNM image:
pnmcrop >
- Remove borders of the specified color that are on the top and left side of the image:
pnmcrop -bg-color >
- Determine the color of the borders to be removed by the color of the pixel in the specified corner:
pnmcrop -bg-corner >
- Leave a border with a width of
npixels. Additionally, specify the behavior if the image is entirely made out of background:
pnmcrop >
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
