OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Is there a way to customize a PDF viewer in React without the preview being converted into an image?

  • Thread starter Thread starter arya
  • Start date Start date
A

arya

Guest
I am developing a web application where I need to modify a PDF by embedding a QR code and displaying its preview while preserving the PDF format. Currently, the only method I have found to achieve this is through iframe and embed tags.

I have also experimented with react-pdf and pdfjsLib, but encountered issues where the preview quality was low due to conversion into an image. My main challenge with using iframe or embed is the limited customization options available. My goal is to display the document page by page and provide navigation buttons for user interaction.
<p>I am developing a web application where I need to modify a PDF by embedding a QR code and displaying its preview while preserving the PDF format. Currently, the only method I have found to achieve this is through iframe and embed tags.</p>
<p>I have also experimented with react-pdf and pdfjsLib, but encountered issues where the preview quality was low due to conversion into an image. My main challenge with using iframe or embed is the limited customization options available. My goal is to display the document page by page and provide navigation buttons for user interaction.</p>
Continue reading...
 

Latest posts

U
Replies
0
Views
1
user2774120
U
P
Replies
0
Views
1
Pramod Karandikar
P
Top