Menu

#328 PNG - Images getting mangled with "-colors 256"

v1.0_(example)
open
None
5
2017-03-04
2015-11-30
score_under
No

Some images get mangled during conversion when "-colors 256" (or lower) is specified.

"gm convert -colors 257 test.png out.png" works fine, but "gm convert -colors 256 test.png out.png" mangles it.

In actual usage I am using +dither as well, but I've noticed this makes no difference to whether or not the bug takes effect.
I've attached an image capable of triggering the bug.

1 Attachments

Discussion

  • Bob Friesenhahn

    Bob Friesenhahn - 2016-01-28
    • assigned_to: Glenn Randers-Pehrson
     
  • Bob Friesenhahn

    Bob Friesenhahn - 2017-03-04
    • summary: Images getting mangled with "-colors 256" --> PNG - Images getting mangled with "-colors 256"
     

Log in to post a comment.

MongoDB Logo MongoDB