pamtowinicon, pgmtosbig, pgmtost4, ppmtowinicon, sbigtopgm, st4topgm, winicontopam, winicontoppm: add pages (#11404)

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
Juri Dispan
2023-11-07 20:02:14 +01:00
committed by GitHub
parent 5788b56f69
commit 94f2502991
8 changed files with 84 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
# pamtowinicon
> Convert a PAM image to a Windows ICO file.
> More information: <https://netpbm.sourceforge.net/doc/pamtowinicon.html>.
- Convert a PAM image file to an ICO file:
`pamtowinicon {{path/to/input_file.pam}} > {{path/to/output.ico}}`
- Encode images with resolutions smaller than t in the BMP format and all other images in the PNG format:
`pamtowinicon -pngthreshold {{t}} {{path/to/input_file.pam}} > {{path/to/output.ico}}`
- Make all pixels outside the non-opaque area black:
`pamtowinicon -truetransparent {{path/to/input_file.pam}} > {{path/to/output.ico}}`