ditherit-v2 icon indicating copy to clipboard operation
ditherit-v2 copied to clipboard

Black and White Modes are Stored with 32 Bit Color Depth

Open lesageethan opened this issue 1 year ago • 1 comments

When dithering is set to black and white, the dithered images outputted are using 32 bit color depth, which is unnecessary as 1-bit depth could be used instead.

In the example images attached, the output from DitherIt is 9.31 KB: 32-bit

If converted to 1-bit using a Python Script, we get a size of just 3.86KB, with no loss in image quality: 1-bit

Would it be possible to add a conversion to 1-bit of BW color modes? I wouldn't mind writing the code and submitting a pull request if so.

lesageethan avatar Jan 01 '24 14:01 lesageethan

Hi Ethan, sure. I would be happy to accept a pull request, thank you!

alexharris avatar Jan 01 '24 18:01 alexharris