What to look for in a PDF SDK - PDF.js vs. react-pdf - DeveloperWeek 2021

Поділитися
Вставка

КОМЕНТАРІ •

  • @apryse-solutions
    @apryse-solutions  3 роки тому +1

    Comment here with any other libs you want me to evaluate! Let's expand this repo.

  • @valerymbele4451
    @valerymbele4451 3 роки тому +2

    sorry , it is not working for react. its loading all my app inside the viewer div

    • @apryse-solutions
      @apryse-solutions  3 роки тому +2

      Hey Valery, what error are you getting?

    • @juancarlosmateo9409
      @juancarlosmateo9409 3 роки тому +2

      @@apryse-solutions I've got the same problem. All my app its rendering into viewer div. How can I fix it??

    • @apryse-solutions
      @apryse-solutions  3 роки тому

      @@juancarlosmateo9409 Which sample? pdf.js, react-pdf, pdf.js express or WebViewer?

    • @apryse-solutions
      @apryse-solutions  3 роки тому

      if it is PDF.js Express or WebViewer path is incorrect.

    • @apryse-solutions
      @apryse-solutions  3 роки тому

      For react-pdf, I just did a clean clone, cd react-pdf-sample, cd my-pdf-app and npm i, npm start. The page rendered correctly. Feel free to email me the issue you are seeing andrey@pdftron.com.

  • @christoferi9636
    @christoferi9636 Рік тому

    its only for view?
    I want to be downloadable

  • @davidkramer6286
    @davidkramer6286 3 роки тому +1

    Do you have a way to send pdf to backend or save pdf to state (React-PDF libary)

    • @apryse-solutions
      @apryse-solutions  3 роки тому +2

      You would just do a POST request with a blob to the backend. I would be careful how you set blob to state as it might be memory heavy.

    • @davidkramer6286
      @davidkramer6286 3 роки тому +1

      @@apryse-solutions Thnak you

  • @sneharajput3727
    @sneharajput3727 2 роки тому

    after pdf reload how highlighted text should be show, can you guide me?

  • @maximilianomaro6230
    @maximilianomaro6230 2 роки тому

    Hello, I just need to get page count and dimensions (width and height in mm), the PDF files are uploaded by users for print... Getting this data I'll can calculate the size of the spin in a book for example; or the number of pages that fits in a sheet...

    • @apryse-solutions
      @apryse-solutions  2 роки тому

      Hello Max, that should be possible with our SDK. The page dimensions in PDF are measured in box sizes, there is a media box, crop box etc. For example API for crop box: www.pdftron.com/api/pdfnet-node/PDFNet.Page.html#getCropBox__anchor.

  • @KeyhanHadjari
    @KeyhanHadjari 3 роки тому

    How are these libraries regarding PDF/A support and XFA support? Is it possible to save the user input in an XFA file when a user has filled a form?

    • @apryse-solutions
      @apryse-solutions  3 роки тому

      XFA is limited support since Adobe deprecated it, now it’s acroforms. You can save of field values in XFDF. PDF/A is supported through PDFTron for creation and validation. All conformance levels. Reach out if you need further info.

  • @jtrenda333
    @jtrenda333 2 роки тому

    I had a client request that a pdf that we're generating on the front end using react-pdf, be emailed to them every day, so i set up node-cron on my backend node server, but i'm not sure how to use react-pdf within that context to generate a stream that i can then send to nodemailer's attachment options. is there a way to do that?

  • @starlord1786
    @starlord1786 3 роки тому

    why pdf.js not accept array buffer data, can you explain to me

  • @ankithap7624
    @ankithap7624 3 роки тому

    Can you tell me how to didplay pdf of type octet/application??

    • @apryse-solutions
      @apryse-solutions  3 роки тому

      You should probably convert it to a blob either in memory of browser, or ahead of time on server and then pass that to the WebViewer `instance.loadDocument(blob, {extension: 'pdf'})`

  • @mochammadchafid3922
    @mochammadchafid3922 3 роки тому

    is pdf.js free for commercial ?

  • @chandbee1719
    @chandbee1719 3 роки тому

    Can we do drag drop files in Pdftron webviwer?
    Because it's loading files from a specific location. But I want to know that can we drag drop files instead of placing within the solution.

  • @nykollemalone1280
    @nykollemalone1280 3 роки тому

    Can I use react-pdf to render a url from my api request or other external url? Example:

    • @apryse-solutions
      @apryse-solutions  3 роки тому

      As long as you configure CORS on the server that serves those files you should be good.

  • @PeterWilliams97
    @PeterWilliams97 3 роки тому

    How much does PDFTron cost?

    • @apryse-solutions
      @apryse-solutions  3 роки тому

      Hello Peter, you can fill out the form here: www.pdftron.com/form/contact-sales/

    • @apryse-solutions
      @apryse-solutions  3 роки тому

      Our sales team can work with you to work out flexible licensing

  • @yurykiryaev329
    @yurykiryaev329 3 роки тому +2

    thank you man! it's really important information

  • @JohnathanHendrix
    @JohnathanHendrix 3 роки тому

    Do you have any videos showcasing how you can prepopulate pdfs and sign them using an existing base64 signature? I am using react and the data I would want to use for prepopulating is avaliable in the component via context.

    • @apryse-solutions
      @apryse-solutions  3 роки тому +1

      Here you go for signatures: www.pdftron.com/documentation/web/guides/signature-tool/#importing-existing-signatures and here is one for forms: www.pdftron.com/documentation/web/guides/forms/fill-fields/.

  • @indomitabledane3068
    @indomitabledane3068 3 роки тому +4

    You are doing Gods work.

  • @giansingh4710
    @giansingh4710 3 роки тому

    this video has saved my life. Thanks. Very Very clutch

  • @genesisabel
    @genesisabel 3 роки тому +1

    Thanks for this information

  • @precastdetailing
    @precastdetailing 2 місяці тому

    Thanks