Page 1 of 3 123 Last
  1. #1

    How To Extract Images From A PDF

    OK, so you are trying to create your own custom game with images from a PDF - this can be a real pain in the you know what if there are several images and then cutting and pasting from the PDF.

    You will be pleased to know there is a much easier way.....

    (1) Download the attachment and extract the contents to a folder on your windows PC.

    (2) In the extracted folder you will find an "images" folder. Copy the PDF into this folder.

    (3) Run the "pdfextract.bat", this will extract the images from the PDF into the "images" folder.

    (4) Copy the images your require to another folder.

    Note1: This will extract the images at their original resolution.

    Note2: Running the "pdfextract.bat" will erase and jpg or ppm files in the folder before extracting the files. The batch file will also rename the pdf to z.pdf

    The pdfimages.exe file can be downloaded from https://www.xpdfreader.com/download.html as a part of the Xpdf tools suite .zip file.

    Edit: .zip attachment now contains the 32 bit version of Xpdf rather than the 64 bit previously included.
    Attached Files Attached Files
    Last edited by ColinBuckler; October 28th, 2017 at 12:18.
    Ultimate License Owner
    UK Time Zone (GMT/BST)
    DM'ing since 1977 (Basic D&D Holmes Blue Box)

    Currently Playing:
    Becoming 5E Campaign
    Tomb of Annihilation 5E Campaign
    "Some are born to move the world, to live their fantasies
    But most of us just dream about the things we'd like to be."
    Rush - Losing It


    Currently DM'ing
    Out of the Abyss 5E Campaign
    Lost Mines of Phandelver 5E Campaign

  2. #2
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    GMT -7
    Posts
    6,851
    Blog Entries
    9
    Nice, I've bookmarked this thread. Sure I will be needing it in the future.

    Current Projects: Ultimate Undermountain (NYDUM)
    Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets
    DMsGuild Content: Balance Disturbed (Adventure), Dungeon Room Descriptions
    FG Product Reviews: Virtual Scribe Reviews

  3. #3
    Does this need to be run as an administrator? I downloaded the zip file here, extracted, put my pdf in the images folder, ran the bat file andI see the screen blink like something ran - but nothing new is in the folder and the pdf isnt renamed.

    Play Adventurers League games on Fantasy Grounds Here!

  4. #4
    Hi Talen,

    It shouldnt - or it doesnt on my Windows 10 machine here.

    Have you copied the pdf into the images folder which must be a subfolder directly beneath the batch & executables.

    I just downloaded the zip file and placed it n a temp folder. Copied a 650+ page pdf into the fole images folder and ran the batchfile. It extracted over 1,400 images in about 10 seconds.
    Ultimate License Owner
    UK Time Zone (GMT/BST)
    DM'ing since 1977 (Basic D&D Holmes Blue Box)

    Currently Playing:
    Becoming 5E Campaign
    Tomb of Annihilation 5E Campaign
    "Some are born to move the world, to live their fantasies
    But most of us just dream about the things we'd like to be."
    Rush - Losing It


    Currently DM'ing
    Out of the Abyss 5E Campaign
    Lost Mines of Phandelver 5E Campaign

  5. #5
    Changed the zip file to include the 32 bit version rather than the 64 bit version.
    Last edited by ColinBuckler; October 28th, 2017 at 12:19.
    Ultimate License Owner
    UK Time Zone (GMT/BST)
    DM'ing since 1977 (Basic D&D Holmes Blue Box)

    Currently Playing:
    Becoming 5E Campaign
    Tomb of Annihilation 5E Campaign
    "Some are born to move the world, to live their fantasies
    But most of us just dream about the things we'd like to be."
    Rush - Losing It


    Currently DM'ing
    Out of the Abyss 5E Campaign
    Lost Mines of Phandelver 5E Campaign

  6. #6
    All set. Thanks for the suggestion!

    Play Adventurers League games on Fantasy Grounds Here!

  7. #7
    Great Tool, thank you a lot!

    I'm going to use this on a regular basis for preparing for my games and will probably find a million other uses for it.

  8. #8
    Hmm for some reason the program isn't saving any files.

    I am using the 64 bit one.

    There is an image format folder so I am using that.

    I can copy and load the pdf file fine.

    When I choose save image I get a popup with a jpeg pulldown menu.

    I click OK

    I get the standard popup save image folder

    but cannot save

    Rappan 3.png
    Ultimate License Holder
    playing D&D since 1980

    Currently GMing:
    * Demonplague- 5E Kickstarter

    *Currently Playing
    * Hotsprings Island

  9. #9
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    18,023
    Blog Entries
    1
    Im just using the 32bit one and having no issues... maybe give that a try...?

    MoreCore - Generic Ruleset
    --- Projects ---
    Extensions | Tutorials | MoreCore | MoreCore Themes | Call of Cthulhu | Maelstrom | FG Con

  10. #10
    Indeed I will do that

    thanks mate
    Ultimate License Holder
    playing D&D since 1980

    Currently GMing:
    * Demonplague- 5E Kickstarter

    *Currently Playing
    * Hotsprings Island

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Log in

Log in