Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC:

Black text are not rendering as pure black 7 years 6 days ago #12273

  • Kin Chung
  • Kin Chung's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
Global.mBitmap does not exist in the original source code.

I tried the following code instead and the problem still exists:
Bitmap bitmap = Bitmap.createBitmap((int) (document.GetPageWidth(0)), (int)
		(document.GetPageHeight(0)), Bitmap.Config.ARGB_8888);
Page page = document.GetPage(0);
bitmap.eraseColor(Color.WHITE);
page.RenderToBmp(bitmap, new Matrix( 1, -1, 0, document.GetPageHeight(0)));
page.Close();

Please Log in or Create an account to join the conversation.

Black text are not rendering as pure black 7 years 4 days ago #12283

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
We have retested using your code, and we cannot see the issue.
But your screenshot is from a different document, so can you retry using the document you sent before, and send us the new document?

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Powered by Kunena Forum