Results 1 to 6 of 6

Thread: Reading PDF in as Image

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2021
    Posts
    4

    Reading PDF in as Image

    I'm attempting to find a solution for reading a pdf in as an image for use. I've looked at the Cairo Tutorial example (17 PDF-Creation) from the vbRichClient page but found that the method used to read the pdf was to use libmupdf.dll which means that I can't use it because my software is not openly licensed.

    I was curious if I've overlooked a solution for this being included in RC6 now since the tutorial was written with RC5 in 2013 or if anyone has an alternative solution. Thank you for any help!

  2. #2
    Hyperactive Member -Franky-'s Avatar
    Join Date
    Dec 2022
    Location
    Bremen Germany
    Posts
    476

    Re: Reading PDF in as Image

    As of Windows 10, the WinRT namespace Windows.Data.Pdf (or corresponding WinRT COM interfaces) is available to you to render pages of a PDF as an image.

  3. #3
    PowerPoster
    Join Date
    Jun 2013
    Posts
    7,454

    Re: Reading PDF in as Image

    Quote Originally Posted by Scorcher2k View Post
    I'm attempting to find a solution for reading a pdf in as an image for use. I've looked at the Cairo Tutorial example (17 PDF-Creation) from the vbRichClient page but found that the method used to read the pdf was to use libmupdf.dll which means that I can't use it because my software is not openly licensed.

    I was curious if I've overlooked a solution for this being included in RC6 now since the tutorial was written with RC5 in 2013 or if anyone has an alternative solution. Thank you for any help!
    As an alternative to libmupdf - you can use Googles (BSD-licensed) PDFium instead.

    Here is a codebank entry I made for that: https://www.vbforums.com/showthread....-ImageExports)

    Olaf

  4. #4
    PowerPoster
    Join Date
    Jan 2020
    Posts
    5,538

    Re: Reading PDF in as Image

    webkit.dll,cef.dll, webview2load.dll can show pdf on webpage

  5. #5

    Thread Starter
    New Member
    Join Date
    May 2021
    Posts
    4

    Re: Reading PDF in as Image

    Thank you everyone!

  6. #6
    Fanatic Member gaouser's Avatar
    Join Date
    Mar 2022
    Location
    Turkey, down the old sides of Fatih
    Posts
    607

    Re: Reading PDF in as Image

    How did you managed to get that views with 4 replys

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width