# HG changeset patch # User hauberg # Date 1243343048 0 # Node ID 4be8e71dd8b56c953b36c8b90a8fd7f048ef414a # Parent 4263b7afe789f1249fb135474af4ab36743e0c40 Make help text readable diff -r 4263b7afe789 -r 4be8e71dd8b5 main/image/inst/imdither.m --- a/main/image/inst/imdither.m Tue May 26 13:00:38 2009 +0000 +++ b/main/image/inst/imdither.m Tue May 26 13:04:08 2009 +0000 @@ -8,16 +8,21 @@ ## This program is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. +## GNU General Public License for more details. + ## -*- texinfo -*- -## @deftypefn {Function File} {[@var{Y}, @var{newmap}] = } imdither(@var{img}) -## reduce the number a colors of rgb or indexed image. -## @deftypefnx {Function File} {[@var{Y}, @var{newmap}] = } imdither(@var{img},@var{colors}) -## @deftypefnx {Function File} {[@var{Y}, @var{newmap}] = } imdither(@var{img},@var{colors},@var{dithtype}) -## -## @deftypefnx {Function File} {[@var{Y}, @var{newmap}] = } imdither(@var{img},@var{map}) -## @deftypefnx {Function File} {[@var{Y}, @var{newmap}] = } imdither(@var{img},@var{map},@var{colors}) -## @deftypefnx {Function File} {[@var{Y}, @var{newmap}] = } imdither(@var{img},@var{map},@var{colors},@var{dithtype}) +## @deftypefn {Function File} {[@var{Y}, @var{newmap}] = } imdither (@var{img}) +## @deftypefnx {Function File} {[@var{Y}, @var{newmap}] = } imdither (@var{img}, @ +## @var{colors}) +## @deftypefnx {Function File} {[@var{Y}, @var{newmap}] = } imdither (@var{img}, @ +## @var{colors}, @var{dithtype}) +## @deftypefnx {Function File} {[@var{Y}, @var{newmap}] = } imdither (@var{img}, @ +## @var{map}) +## @deftypefnx {Function File} {[@var{Y}, @var{newmap}] = } imdither (@var{img}, @ +## @var{map}, @var{colors}) +## @deftypefnx {Function File} {[@var{Y}, @var{newmap}] = } imdither(@var{img}, @ +## @var{map}, @var{colors}, @var{dithtype}) +## Reduce the number a colors of rgb or indexed image. ## ## Note: this requires the ImageMagick "convert" utility. ## get this from www.imagemagick.org if required @@ -35,9 +40,9 @@ ## ## @var{colors} is a maximum number of colors in result map ## -## TODO: add facility to use already created colormap over "-remap" option +## TODO: Add facility to use already created colormap over "-remap" option ## -## BUGS: this function return a 0-based indexed images +## BUGS: This function return a 0-based indexed images ## when colormap size is lower or equals to 256 like at cmunique code ## @seealso{cmunique} ##