Getting a 1bpp bmp from Image<TPixel> (essentially monochrome bmp) #1621
-
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 |
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
-
Makes me sad :( |
Beta Was this translation helpful? Give feedback.
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.