graphics-samples icon indicating copy to clipboard operation
graphics-samples copied to clipboard

PDF Render not loading Bitmap to its quality 100%

Open mihirmodiofficial opened this issue 2 years ago • 0 comments

        val bitmap = Bitmap.createBitmap(currentPage.width, currentPage.height, Bitmap.Config.ARGB_8888)
        currentPage.render(bitmap, null, null, PdfRenderer.Page.RENDER_MODE_FOR_DISPLAY);

in my pdf which opened using PDFRenderer on Zoom in i cannot read the letters while i opened same pdf with other pdf viewer i can read the letters properly. I also debug and check the bitmap object and view bitmap here also on zoom in the bitmap i cannot read the letters properly.

Also in some device i am getting below crash

image

mihirmodiofficial avatar May 03 '22 10:05 mihirmodiofficial