PdfBox-Android icon indicating copy to clipboard operation
PdfBox-Android copied to clipboard

When rendering a black-and-white image, the image is not clear

Open QiangHe-pfu opened this issue 3 years ago • 1 comments

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

QiangHe-pfu avatar Aug 08 '22 06:08 QiangHe-pfu

This problem was solved in the project I copied,you can see https://github.com/xsooy/ZYJPdfBox

xsooy avatar Sep 26 '22 04:09 xsooy