Getting a 1bpp bmp from Image<TPixel> (essentially monochrome bmp) #1621
Answered
by
brianpopow
kevinstampe
asked this question in
Q&A
|
Hi there, fellow JimBobSquarePants fans! (and ofc James himself👍) I can't seem to figure out how to get a monochrome bitmap out of ImageSharp. A 8bpp bitmap is 32KB (the lowest BmpEncoder can be configured with OOTB), while a 1bpp bitmap is 4KB. Really hope that this is something that can be done :) Best regards, Kevin |
Answered by
brianpopow
May 4, 2021
Replies: 2 comments 3 replies
|
The bitmap encoder indeed does only support 8 bit per pixel at the moment. We will need to change the encoder to support 4 bit and 1 bit encoding. |
2 replies
Answer selected by
kevinstampe
|
Makes me sad :( |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The bitmap encoder indeed does only support 8 bit per pixel at the moment. We will need to change the encoder to support 4 bit and 1 bit encoding.