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,20 @@
# winicontopam
> Convert a Windows ICO file to a PAM file.
> More information: <https://netpbm.sourceforge.net/doc/winicontopam.html>.
- Read an ICO file and convert the best quality image contained therein to the PAM format:
`winicontopam {{path/to/input_file.ico}} > {{path/to/output.pam}}`
- Convert all images in the input file to PAM:
`winicontopam -allimages {{path/to/input_file.ico}} > {{path/to/output.pam}}`
- Convert the n'th image in the input file to PAM:
`winicontopam -image {{n}} {{path/to/input_file.ico}} > {{path/to/output.pam}}`
- If the image(s) to be extracted contain graded transparency data and an AND mask, write the AND mask into the fifth channel of the output PAM file:
`winicontopam -andmasks {{path/to/input_file.ico}} > {{path/to/output.pam}}`