-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pwgtoraster has small black dots. #20
Comments
I found (pwgtoraster_doc_t *) doc ->bi_ Level=1, which can solve this problem. Thank you for your great efforts. |
tillkamppeter
added a commit
that referenced
this issue
Apr 5, 2023
When converting 8-bit grayscale (Black = 0, White = 255, 256 steps) to 1-bit dithered (16x16 dither matrix, Black = 0 pixels, White = 256 pixels, 257 steps), White got converted from 255 to 255 pixels in the 16x16 dither matrix, leaving 1 pixel in each 16x16 square black. Fixed this off-by-one by explicitly setting all 256 pixels for white. Fixes issue #20
I found: |
1 similar comment
I found: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
./pwgtoraster 1 user Test 1 "print-color-mode=Black printer-resolution=600x600dpi" windows-testpage.raster > 1.raster
rasterview 1.raster
3.I found that the converted document had many small black dots, and the same was true when printed.
Thanks.
windows-testpage.raster.zip
The text was updated successfully, but these errors were encountered: