comparison tools/gfxconv.c @ 2062:f11fad2dc3b5

Improve scale factor option '-S' help.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 04 Dec 2018 21:19:45 +0200
parents 5b7f5505267c
children 451980580189
comparison
equal deleted inserted replaced
2061:221a95caa91e 2062:f11fad2dc3b5
220 220
221 printf( 221 printf(
222 "\n" 222 "\n"
223 "Output image scaling (-S)\n" 223 "Output image scaling (-S)\n"
224 "-------------------------\n" 224 "-------------------------\n"
225 "Scaling option -S <n>, <x>:<y>, <x>:<y>*<n> can be used to set the direct or\n" 225 "Scaling option '-S <n>', '-S <x>:<y>', '-S <x>:<y>*<n>' can be used to set\n"
226 "relative scale integer factor(s). -S <n> scales both height and width by <n>.\n" 226 "the direct or relative scale integer factor(s). '-S <n>' sets both height\n"
227 "-S <x>:<y>*<n> scales width by X*n and height Y*n. Certain input formats set\n" 227 "and width scale factor to <n>. '-S <x>:<y>*<n>' scales width by X*n and\n"
228 "their default aspect/scale factors. By prepending -S parameters with asterisk\n" 228 "height Y*n. Certain input formats set their default aspect/scale factors.\n"
229 "('*') you can scale relative to those values. (e.g. '-S *2' for example.)\n" 229 "By prepending -S parameters with asterisk ('*') you can scale relative to\n"
230 "those values. (e.g. '-S *2' for example.) NOTE! Only integer scale factors\n"
231 "can be used at the moment.\n"
230 "\n" 232 "\n"
231 "Palette remapping (-R)\n" 233 "Palette remapping (-R)\n"
232 "----------------------\n" 234 "----------------------\n"
233 "Indexed palette color remapping can be performed via the -R option, either\n" 235 "Indexed palette color remapping can be performed via the -R option, either\n"
234 "specifying single colors or filename of file containing remap definitions.\n" 236 "specifying single colors or filename of file containing remap definitions.\n"