← 返回命令列表

Linux command

pgmtosbig 命令

文本

涉及管道、覆盖或删除,执行前请先确认路径和参数。

常用示例

Convert a PGM file to SBIG format

pgmtosbig [input.pgm] > [output.sbig]

Convert from stdin to SBIG format

pgmtosbig < [input.pgm] > [output.sbig]

说明

pgmtosbig converts a PGM (Portable Graymap) image into SBIG Type 3 format, the uncompressed image format used by Santa Barbara Instrument Group (SBIG) astronomical CCD cameras. The output is uncompressed image data with a header identifying the source as an ST-6 camera, along with camera type, image dimensions, and saturation level metadata. Note that SBIG Type 3 is distinct from the older SBIG ST-4 format handled by pgmtost4(1). The reverse conversion is performed by sbigtopgm(1). The program accepts input from a file argument or standard input, and writes to standard output. It has no tool-specific options beyond the common Netpbm options. Part of the Netpbm toolkit (since Netpbm 10.70).

FAQ

What is the pgmtosbig command used for?

pgmtosbig converts a PGM (Portable Graymap) image into SBIG Type 3 format, the uncompressed image format used by Santa Barbara Instrument Group (SBIG) astronomical CCD cameras. The output is uncompressed image data with a header identifying the source as an ST-6 camera, along with camera type, image dimensions, and saturation level metadata. Note that SBIG Type 3 is distinct from the older SBIG ST-4 format handled by pgmtost4(1). The reverse conversion is performed by sbigtopgm(1). The program accepts input from a file argument or standard input, and writes to standard output. It has no tool-specific options beyond the common Netpbm options. Part of the Netpbm toolkit (since Netpbm 10.70).

How do I run a basic pgmtosbig example?

Run `pgmtosbig [input.pgm] > [output.sbig]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more pgmtosbig examples?

This page includes 2 examples for pgmtosbig, plus related commands for nearby Linux tasks.