FG Spreadshirt Swag
Page 1 of 4 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
    UK Time Zone (GMT/BST)
    DM'ing since 1977 (Basic D&D)

    Currently Playing:
    Empire of the Ghouls 5E Campaign
    Tales from the Yawning Portal 5E Campaign
    Rise of the Runelords Pathfinder 1e
    Amazing Adventures 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
    Princes of the Apocalypse 5E Campaign
    Waterdeep: Mad Mage 5E Campaign
    The Blight 5E Campaign

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

    Problems? See; How to Report Issues, Bugs & Problems
    On Licensing & Distributing Community Content
    Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
    Note, I am not a SmiteWorks employee or representative, I'm just a user like you.

  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.

  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
    UK Time Zone (GMT/BST)
    DM'ing since 1977 (Basic D&D)

    Currently Playing:
    Empire of the Ghouls 5E Campaign
    Tales from the Yawning Portal 5E Campaign
    Rise of the Runelords Pathfinder 1e
    Amazing Adventures 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
    Princes of the Apocalypse 5E Campaign
    Waterdeep: Mad Mage 5E Campaign
    The Blight 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
    UK Time Zone (GMT/BST)
    DM'ing since 1977 (Basic D&D)

    Currently Playing:
    Empire of the Ghouls 5E Campaign
    Tales from the Yawning Portal 5E Campaign
    Rise of the Runelords Pathfinder 1e
    Amazing Adventures 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
    Princes of the Apocalypse 5E Campaign
    Waterdeep: Mad Mage 5E Campaign
    The Blight 5E Campaign

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

  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 & FGU backer
    playing D&D since 1980

    Currently GMing:
    *Opus Christini Traveller campaign
    *

    *Currently Playing
    *Currently Looking
    *

  9. #9

  10. #10
    Indeed I will do that

    thanks mate
    Ultimate License Holder & FGU backer
    playing D&D since 1980

    Currently GMing:
    *Opus Christini Traveller campaign
    *

    *Currently Playing
    *Currently Looking
    *

Thread Information

Users Browsing this Thread

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
5E Character Create Playlist

Log in

Log in