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 .
×
Advertisement Create a free account

Page Size?

1610468918
I have a map in Irfanview that shows it's "3900 x 2800 x 24bpp". So I think, "Oh! I can set my page to 3900 x 2800 and it should fit (and align) perfectly!". It didn't. When I dragged the map onto the page the map was much smaller. I could expand the image to the page size but it was still a little off. Where did I go wrong?
1610469055
The Aaron
Forum Champion
API Scripter
Sounds like you just need to right click the image, select Advanced -> Set Dimensions and set the image to be 3900 x 2800 pixels, then you can snap it to the upper left corner and it should be right.
1610479932
Brian C.
Pro
Marketplace Creator
Compendium Curator
Victor G. said: I have a map in Irfanview that shows it's "3900 x 2800 x 24bpp". So I think, "Oh! I can set my page to 3900 x 2800 and it should fit (and align) perfectly!". It didn't. When I dragged the map onto the page the map was much smaller. I could expand the image to the page size but it was still a little off. Where did I go wrong? Can you show an image of what you mean by the image being just a little off?
1610481929
Brian C. said: Can you show an image of what you mean by the image being just a little off? I'm glad you asked! Because it forced me to do it again and I realized that it may have been "user error" as the map did snap in to fill. But when I try to fit the grid I take a big step back; take a look here&nbsp;<a href="https://drive.google.com/file/d/1M6I5ymh_nAAyl5GjTjNqIYqQ7U9jefka/view" rel="nofollow">https://drive.google.com/file/d/1M6I5ymh_nAAyl5GjTjNqIYqQ7U9jefka/view</a>&nbsp;
1610482547

Edited 1610483001
Brian C.
Pro
Marketplace Creator
Compendium Curator
So, your Roll20 page dimensions are made of too many squares. This may be a case where the image editing software is emitting more pixels per square than Roll20's 70 pixels per square. If the map image's grid aligns perfectly on the squares, you can just count the number of squares in width and height, enter those numbers into the Roll20 page dimensions, and drag the map image to cover the adjusted Roll20 page. Everything will then line up. My first guess is that the image is 100 ppi, and that the map is 39x28 squares. As an added bonus, you can set the Roll20 grid to transparent to see only the map's grid while still benefiting from the Roll20 grid's functionality. If for some reason that doesn't work or the squares around the edge are not "whole squares" (i.e. only parts of squares are along the border), this video will help you line up nearly any map to the Roll20 grid. <a href="https://youtu.be/Kip8clx2e-w" rel="nofollow">https://youtu.be/Kip8clx2e-w</a>
1610502580

Edited 1610502645
Remember if you take a centre-to-centre tile measurement across a whole map, it will be 1 tile short of the (correct) outside-to-outside measurement. That's got me a few times, as the R20 ruler defaults to centres. May or may not be relevant in this case.
1610505631

Edited 1610505676
Gold
Forum Champion
There is a typo on the (new) page dialog. The left-hand setting should say Sq. for Squares, not px. for pixels. Each SQUARE is multiplied (x 70 px).&nbsp; It's SQUARES times pixels, not pixels times pixels. I've reported it, they didn't fix it, it's weird.