Mercurial > hg > dmlib
changeset 2062:f11fad2dc3b5
Improve scale factor option '-S' help.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 04 Dec 2018 21:19:45 +0200 |
parents | 221a95caa91e |
children | bd109c0a7b88 |
files | tools/gfxconv.c |
diffstat | 1 files changed, 7 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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 <n>, <x>:<y>, <x>:<y>*<n> can be used to set the direct or\n" - "relative scale integer factor(s). -S <n> scales both height and width by <n>.\n" - "-S <x>:<y>*<n> 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 <n>', '-S <x>:<y>', '-S <x>:<y>*<n>' can be used to set\n" + "the direct or relative scale integer factor(s). '-S <n>' sets both height\n" + "and width scale factor to <n>. '-S <x>:<y>*<n>' 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"