RadaeePDF.com :: Topic: Change PDF Background Image And Color (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Questions about Android development and PDF

TOPIC: Change PDF Background Image And Color

Change PDF Background Image And Color 2 years 11 months ago #7421

Hello;
I am looking for a solution to set a custom background image and color of a PDF file.
Is there a way to change the PDF background image and color.
For example in Moon+ PDF reader, there is an option that you can set one of the custom images from predefined ones as the background image like a real book pattern.
Custom background texture of a PDF file

texture.png


Options to change the backgorund option

backgroundoption.jpg
Last Edit: 2 years 11 months ago by kpbird.
The administrator has disabled public write access.

Change PDF Background Image And Color 2 years 11 months ago #7424

  • nermeen
  • nermeen's Avatar
  • OFFLINE
  • Moderator
  • Posts: 684
  • Thank you received: 40
  • Karma: 18
This screenshot is taken from epub not a pdf...(for epub it's easy to modify the background, but this is out of the SDK scope)

Using our SDK, you can only change the background around the pdf page...to change the background of the page itself (and we think this is how it's done in Moon+) you can only do pixels manipulations (draw another canvas semi-transparent use XOR, OR, ....)
The administrator has disabled public write access.

Change PDF Background Image And Color 2 years 11 months ago #7425

Thank you for your reply.

Would you please, send a sample code how we can change the PDF page's background by using page manipulation. I want to try it with the SDK.
The administrator has disabled public write access.

Change PDF Background Image And Color 2 years 11 months ago #7427

  • nermeen
  • nermeen's Avatar
  • OFFLINE
  • Moderator
  • Posts: 684
  • Thank you received: 40
  • Karma: 18
Unfortunately, we do not have a sample code for that...

You need to do it yourself.
The administrator has disabled public write access.
Powered by Kunena Forum