# HG changeset patch # User Matti Hamalainen # Date 1543951185 -7200 # Node ID f11fad2dc3b5644c73b91c9566ffd72c7ae82251 # Parent 221a95caa91efe575fdd1d281884d8849919d234 Improve scale factor option '-S' help. diff -r 221a95caa91e -r f11fad2dc3b5 tools/gfxconv.c --- a/tools/gfxconv.c Tue Dec 04 20:30:08 2018 +0200 +++ b/tools/gfxconv.c Tue Dec 04 21:19:45 2018 +0200 @@ -222,11 +222,13 @@ "\n" "Output image scaling (-S)\n" "-------------------------\n" - "Scaling option -S , :, :* can be used to set the direct or\n" - "relative scale integer factor(s). -S scales both height and width by .\n" - "-S :* scales width by X*n and height Y*n. Certain input formats set\n" - "their default aspect/scale factors. By prepending -S parameters with asterisk\n" - "('*') you can scale relative to those values. (e.g. '-S *2' for example.)\n" + "Scaling option '-S ', '-S :', '-S :*' can be used to set\n" + "the direct or relative scale integer factor(s). '-S ' sets both height\n" + "and width scale factor to . '-S :*' scales width by X*n and\n" + "height Y*n. Certain input formats set their default aspect/scale factors.\n" + "By prepending -S parameters with asterisk ('*') you can scale relative to\n" + "those values. (e.g. '-S *2' for example.) NOTE! Only integer scale factors\n" + "can be used at the moment.\n" "\n" "Palette remapping (-R)\n" "----------------------\n"