Menu

#577 convert +dither does not work as expected

v1.0_(example)
closed-invalid
dithering (1)
5
2025-10-30
2018-11-26
Zirneklitis
No

“+dither” option does not suspend dithering. The command:
for attels in *.tif; do gm convert -depth 8 -fuzz 10% +dither $attels -colors 63 +dither -map colours.png -quality 100 $attels.png ; done
generates an image with dithered colours.

4 Attachments

Discussion

  • Bob Friesenhahn

    Bob Friesenhahn - 2018-12-20
    • assigned_to: Bob Friesenhahn
     
  • Bob Friesenhahn

    Bob Friesenhahn - 2018-12-20

    Please try putting your +dither request immediately after the input file name (e.g. right before -colors or -map) rather than before the input file name. The -fuzz option is used for color matching but is not used when reducing to a colormap with -colors or -map so it serves no purpose for your command.

     
  • Bob Friesenhahn

    Bob Friesenhahn - 2025-10-30
    • status: open --> closed-invalid
     
  • Bob Friesenhahn

    Bob Friesenhahn - 2025-10-30

    As described previously, the command line is parsed from left to right. This means that the -colors request needs to come after +dither. This is a usage error.

     

Log in to post a comment.

MongoDB Logo MongoDB