# pamdepth > 降低图像的深度(即颜色分辨率)。 > 更多信息:。 - 读取一个PBM图像,设置其maxval并保存到文件: `pamdepth {{maxval}} {{path/to/image.pbm}} > {{path/to/file.pbm}}`