cod3monk/zpl

regarding the conversion of rgb images to zpl

bhargav2496 opened this issue · 3 comments

I tried your python code for the given below image
out
when i try to print the image it gives the image as below
capture1
Any solution kindly provide.

The transformation of the image is completely outsourced to Pillow / PIL. The problem is that there are no grey scales and everything needs to be mapped to black or white pixels. Not sure if it could be done better. What would you expect the result to look like?

1542169259154 - copy
This is my expected result though this is not that image which I have asked but it should print in this format

You will need to preprocess the file using PIL or another library. Sorry about that.