Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account
This post has been closed. You can still view previous posts, but you can't post any new replies.

Setting the resolution of the squares

As I understand the square resolution is fixed at 70 pixels at the moment. Since I use maps from Pathfinder module PDFs quite often, the original´s map square resolution tends to be much lower. Which means that it becomes quite hazy after stretching the map to align it with Roll20´s grid. Is it possible to change the size of the grid?
1367174454
Konrad J.
Pro
API Scripter
If the original map is lower res then there is nothing you can do about things being fuzzy really.  You need a higher res map to begin with.  But you should be able to get an OK Pathfinder Map done.  Give me an example of a Module map you want done and I'll have a quick look and see whats involved.
Thanks - but I just stumbled over the solution. There is an option under the Page Settings. In the grid line it gives you the option of altering the grid in relation to the standard of 70x70. So if my Pathfinder map uses 50x50 pixels I can enter factor 0.7 and Roll20 adjusts the grid to the original map.
1367179871
Konrad J.
Pro
API Scripter
Yes that works very well actually.  But don't forget to change the "Scale: 1 unit =" setting or your measurement tool won't work properly.
1367179907
Konrad J.
Pro
API Scripter
If you don't mind my asking, what module is it you are doing and how are you getting the map out of the pdf?
You can drag and drop pages from a pdf into roll20 - or take a snapshot of them in in adobe and save it into paint, then transfer into Roll20
1367190488
Konrad J.
Pro
API Scripter
OldSchoolChris said: You can drag and drop pages from a pdf into roll20 - or take a snapshot of them in in adobe and save it into paint, then transfer into Roll20 THose won't work very well.  A snap shot is just too low res.  The better way would be to use a program that rips the graphics out of the PDFs, but some of the Paizo's I've tried I don't get the maps, only some backgrounds and unusable stuff.  I'm thinking because of security settings?
I am using a MacBook - on which it is a bit more difficult to extract the maps from pdf. I am working on "Hungry Are The Dead" at the moment. I use the build in viewer of MacOS to open the pdf. There is a rectangular selection tool somewhere on the menu. I use this to copy my maps to the clipboard. Afterwards I open it in GIMP and create a new picture from the clipboard. Then I have to export the new image as a png. This has to be uploaded to my library on Roll20 first and then to be dropped into the map-layer. Safari does not support drag-and-drop directly into the window unfortunately. Then I have to rescale the image so that it "almost" fits to the grid. Since the resolution of the pdf is quite low from the beginning you will always have a bit of an unsharp map. I try to use a 50 pix resolution now. Previously on my MS-DOS notebook I did use Adobe Reader (I think it was version 7 or 8 - the newer ones cause problems while ripping pdfs) and IrfanView to do much the same. It´s a bit easier on DOS though.
1367314158
Gauss
Forum Champion
I use Imagemagick combined with Ghostscript to pull images from PDFs if they are not selectable with the normal methods. It is a command line tool that can convert files. I think they are compatible with OS X but I dont use it so I have no idea.  After I pull an image from the PDF I process it normally using art programs to trim the extra off.  - Gauss
Khaelin if you are on a mac you can do the following: Install MacPorts:&nbsp; <a href="http://www.macports.org/" rel="nofollow">http://www.macports.org/</a> Install poppler and ImageMagick (via Terminal) sudo port install poppler ImageMagick Use pdfimages to extract images from the pdf&nbsp;(via Terminal) pdfimages -j -p -f $START -l $END "$FILE" pdfimg $START is the start page $END is the end page $FILE is the PDF file name&nbsp; If you get .ppm files out use&nbsp;mogrify to convert them mogrify -format png *.ppm mogrify -format jpg *.ppm Run both then go through and delete the images that didn't convert correctly Here is a little shell script I use to do this for my campaigns: <a href="https://gist.github.com/edalquist/5488443" rel="nofollow">https://gist.github.com/edalquist/5488443</a>
Konrad J. said: OldSchoolChris said: You can drag and drop pages from a pdf into roll20 - or take a snapshot of them in in adobe and save it into paint, then transfer into Roll20 THose won't work very well. &nbsp;A snap shot is just too low res. &nbsp;The better way would be to use a program that rips the graphics out of the PDFs, but some of the Paizo's I've tried I don't get the maps, only some backgrounds and unusable stuff. &nbsp;I'm thinking because of security settings? Not true - if you select an area, then with it selected, zoom in to 200% - you get really nice snapshots:
1367389532
Konrad J.
Pro
API Scripter
That really depends on the PDF. &nbsp;For example, Rise of the Ruinlords, the first encounter map. &nbsp;You zoom in all you want the resolution stays the same, crappy. Also zooming in on some pdfs the res is high so you can take snap shots of the map and then paste them together, but it would be a lot nicer to get the maps all as one. I've got some ripping programs that do it nicely, but a lot of maps in the pdfs just aren't that high a res. &nbsp;The other problem of course s they have all the room numbers, secret doors, etc. :(