summaryrefslogtreecommitdiff
path: root/sys/man/1/jpg
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2012-04-01 04:57:11 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2012-04-01 04:57:11 +0200
commit0989c2530d03de81c7d340e2f173786590ae967b (patch)
tree8a195b4e59670a76ccb3f2a885130708c420c65e /sys/man/1/jpg
parentff7d9ab52561605053e69dfa3d7e842318444c03 (diff)
microsoft ico format conversion support
Diffstat (limited to 'sys/man/1/jpg')
-rw-r--r--sys/man/1/jpg12
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/man/1/jpg b/sys/man/1/jpg
index 6bbb15ebd..98557cbac 100644
--- a/sys/man/1/jpg
+++ b/sys/man/1/jpg
@@ -98,6 +98,8 @@ jpg, gif, png, ppm, bmp, v210, yuv, ico, tga, togif, toppm, topng, toico \- view
.PP
.B ico
[
+.B -c
+] [
.I file
]
.br
@@ -232,12 +234,18 @@ translates files that contain a `transparency' index by attaching
an alpha channel to the converted image.
.PP
.I Ico
-displays a Windows icon (.ico) file. If no file is
+displays or converts a Windows icon (.ico) file. If no file is
specified,
.I ico
reads from standard input.
Icon files
-contain sets of icons represented by an image and a mask.
+contain sets of icons represented by an image and a mask. The
+.B -c
+option causes
+.I ico
+to convert the first icon in the set and write it to standard
+output in compressed Plan 9 image format. Otherwise, the whole
+icon set is displayed.
Clicking the right button pops up a menu that lets you
write any icon's image as a Plan 9 image (\fIwidth\fBx\fIheight\fB.image\fR),
write any icon's mask as a Plan 9 image (\fIwidth\fBx\fIheight\fB.mask\fR),