pnmmargin, pnmmontage, pnmnlfilt, pnmnorm, pnmpad, pnmpaste: add pages (#12187)
* pnmmargin, pnmmontage, pnmnlfilt, pnmnorm, pnmpad, pnmpaste: add pages
---------
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
2024-02-09 14:53:54 +01:00
|
|
|
# pnmmontage
|
|
|
|
|
|
|
|
> Create a montage from multiple PNM images.
|
|
|
|
> More information: <https://netpbm.sourceforge.net/doc/pnmmontage.html>.
|
|
|
|
|
|
|
|
- Produce a packing of the specified images:
|
|
|
|
|
|
|
|
`pnmmontage {{path/to/image1.pnm path/to/image2.pnm ...}} > {{path/to/output.pnm}}`
|
|
|
|
|
2025-05-04 05:15:17 +03:00
|
|
|
- Specify the quality of the packing (Note: Larger values produce smaller packings but take longer to compute.):
|
pnmmargin, pnmmontage, pnmnlfilt, pnmnorm, pnmpad, pnmpaste: add pages (#12187)
* pnmmargin, pnmmontage, pnmnlfilt, pnmnorm, pnmpad, pnmpaste: add pages
---------
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
2024-02-09 14:53:54 +01:00
|
|
|
|
|
|
|
`pnmmontage -{{0..9}} {{path/to/image1.pnm path/to/image2.pnm ...}} > {{path/to/output.pnm}}`
|
|
|
|
|
|
|
|
- Produce a packing that is not larger than `p` percent of the optimal packing:
|
|
|
|
|
2025-04-01 06:42:14 +03:00
|
|
|
`pnmmontage {{[-qua|-quality]}} {{p}} {{path/to/image1.pnm path/to/image2.pnm ...}} > {{path/to/output.pnm}}`
|
pnmmargin, pnmmontage, pnmnlfilt, pnmnorm, pnmpad, pnmpaste: add pages (#12187)
* pnmmargin, pnmmontage, pnmnlfilt, pnmnorm, pnmpad, pnmpaste: add pages
---------
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
2024-02-09 14:53:54 +01:00
|
|
|
|
|
|
|
- Write the positions of the input files within the packed image to a machine-readable file:
|
|
|
|
|
2025-04-01 06:42:14 +03:00
|
|
|
`pnmmontage {{[-d|-data]}} {{path/to/datafile}} {{path/to/image1.pnm path/to/image2.pnm ...}} > {{path/to/output.pnm}}`
|