Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   Realm Works Discussion (http://forums.wolflair.com/forumdisplay.php?f=67)
-   -   Image From PDF Copy Tip (http://forums.wolflair.com/showthread.php?t=58350)

Jay_NOLA May 7th, 2017 01:19 PM

Image From PDF Copy Tip
 
One problem that I've seen when copying an image from PDF is sometimes the image gets a back blackground or gets messed up in doing a normal copy and paste.

By accident I discovered that Adobe Elements and some other image editors can open a PDF and you can get the image that way and avoid most of the image copy and paste problems that can occur by try to copy and past from a PDF and paste into a image editor. On my over 6 years old copy of Adobe Elements for example if I open a PDF in it I get the option to select a page as an image or to select an image from the PDF to open.

Doing that is the only way I found to get some images without having the mess up, color change, etc. that occurs with using a PDF reader and selecting copy image and pasting the copy into a image editor.

One word of caution is that some PDF are locked and require a password to open you won't be able to do this if the PDF you are wanting to open in a graphics program if the PDF is locked.

daplunk May 7th, 2017 01:22 PM

I'm finding a few Gimp skills is really necessary to ensure all pictures go across amazingly.

Maidhc O Casain May 7th, 2017 02:17 PM

That's a great tip for me, Jay - thanks! Until now I've been spending quite a bit of time carefully editing out that black background.

AEIOU May 7th, 2017 05:39 PM

I find the Windows Snipping Tool to work in most cases just as well as long as there's not text wrap that follows the image.

daplunk May 7th, 2017 05:41 PM

If you use Gimp instead AEIOU you can use the clone tool to take the text out easily and quickly.

http://www.wikihow.com/Use-the-Clone-Tool-in-Gimp

Jay_NOLA May 8th, 2017 09:20 AM

You only have to snip and remove text/clone, etc. with the method I gave if for some reason you have to open the page as an image cause the program can't just open the image without a problem.

The method I gave is going to make you not have to do any snipping or removing of text if you just import an image from the PDF. If you have to import the page as an image you will have to snip. On my Adobe Elements if you open a PDF it has a little dot I can check to view just the images from the PDF or the pages as images when it is showing me with it can import from the PDF.

One thing to watch out for that is that sometimes the image in a PDF is an image with text layered on top of it. So if you extract the image the text is missing. You'll have to open the page as an image an do a sniping, erasing and cropping. I had to do that with a tavern menu for one adventure.

Also, sometimes depending on the PDF, image used in it, and graphic program you import it into. You may have one or more layers you can select for it show up in the graphics program. I've seen some D&D adventures maps when opened the way I gave have 2 or more layers available when opened in Photoshop. Usually its a the second lawyer lets you show or hide text (room numbers) on a map.

Aaron May 8th, 2017 10:14 AM

This is a problem I've run into as well, getting the occasional bit of art for the encounter libraries. Thanks for the tips, guys!

Jamz May 8th, 2017 12:51 PM

2 Attachment(s)
Yea, the black background is usually due to improper handling of the transparency (most of the time a PDF will store images in JPEG2000 format, an uncommon format of JPG that allows transparency, and can create issues if the CMYK conversion isn't handled properly. IIRC Windows will save these as PNG and sometimes you get the transparency converted to black).

If you would like a free and open source hint, and I suppose a self plug, you can install and use my fork of MapTool @ http://maptool.nerps.net

Even if you insist on using other tools, you can grab and save the images you need (I save them as PNG files). But feel free to explore MapTool for your VTT! Creating your maps is pretty easy (right-click on a map to auto-resize the Grid to match the grid on the map!)

The first example are images pulled from a Bestiary, the second is an example grabbing the Maps from an Interactive Map Folio, (where the PDF uses buttons to turn on/off grid and hide/show GM tags). There can be up to 4 copies of the map, and I extract all 4 (a lot of other programs have trouble extracting these images!)

All image extractions are pulled at full resolution of what is stored in the PDF, so you don't suffer any image loss.

ruhar May 9th, 2017 07:45 PM

Before you do all that make sure you do a Google search first. Sometimes I can find a clean version of the image.

Jamz May 10th, 2017 03:46 PM

Quote:

Originally Posted by ruhar (Post 249580)
Before you do all that make sure you do a Google search first. Sometimes I can find a clean version of the image.

True dat. That is sometimes the quickest/easiest solution...

Hint, if you have crappy version of the image, drag it onto google image search and search via that image, it may yield results...


All times are GMT -8. The time now is 08:02 PM.

Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.