From 0989c2530d03de81c7d340e2f173786590ae967b Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 1 Apr 2012 04:57:11 +0200 Subject: microsoft ico format conversion support --- sys/man/1/jpg | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'sys/man/1/jpg') 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), -- cgit v1.2.3