PdfBox-Android
PdfBox-Android copied to clipboard
When rendering a black-and-white image, the image is not clear
Describe the bug When rendering a black-and-white image, the image is not clear
To reproduce pageImage = renderer.renderImage(0, 1, ImageType.RGB);
PDF example preview.pdf
Expected behavior Display black and white images correctly
Actual behavior Pdf is made by MAC
Environment details:
- PdfBox-Android version: 2.0.25.0
- Android API version: API 31
This problem was solved in the project I copied,you can see https://github.com/xsooy/ZYJPdfBox