Skip to content

8 bits per pixel grayscale bmp becomes 24 bits per pixel bmp after extending it. #4439

Discussion options

You must be logged in to vote

End up solving the problem by turn off the dithering, using the -dither None option.
magick in.bmp -background black -gravity center -extent 258x258 -dither None -compress None -colors 256 BMP3:out.bmp

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@EvilOctopusFu
Comment options

Comment options

You must be logged in to vote
2 replies
@EvilOctopusFu
Comment options

@fmw42
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by EvilOctopusFu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants