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

70 Pixels = how many inches? or how many pixels per inch

I am trying to create the same size map from Photoshop to roll 20. In Photoshop it displays how many pixels W X H and 70 Pixels/Inch.  What does my map size in pixels need to be to make it line up. Align to grid isn't working for me. Pictures Related.
Hi, Tyson H. Definitely give this page a read-through: <a href="https://wiki.roll20.net/Image_Best_Practices_for_Roll20" rel="nofollow">https://wiki.roll20.net/Image_Best_Practices_for_Roll20</a>
When you drag the picture to the map you can right click on it and select the Advanced menu and set the size in pixels to match your original image. For whatever reason Roll20 changes the size of the image when it gets dropped in so you will need to change it back. Once you have the pixel dimensions set you can then change back to the unit dimensions to see what you need to set your page size at.&nbsp;
1457397292

Edited 1457397348
The wiki link that Silvyre made explains everything, but to phrase it in a different way: Create your images at whatever size and resolution you like (probably larger length/width and with a 100+ pixel/inch resolution to make your final images prettier).&nbsp; Use Photoshop's "Save For Web" option to save your map in .JPG form (or .PNG if you want it to be prettier and think roll20 will accept the larger file size).&nbsp; Make sure the final exported image has pixel length and width such that 70pixels = 1 inch on the grid.&nbsp; So if you want your map to be 5" x 3", you'll export your map of 1000 x 600 @ 200pixels/inch to 350 x 210 pixels. This will come out to 5 x 3 squares on roll20's standard grid.&nbsp;
I'm still having issues, maybe one of you could show me how in my game? im mostly a hands on learner :(
1457407815

Edited 1457407848
Lithl
Pro
Sheet Author
API Scripter
Pixels per inch is a measurement that's only relevant if you're choosing a monitor to buy, or if you're planning to print the image. If you're trying to create something to use on the web, you can safely ignore that setting in Photoshop. =)
1457449168

Edited 1457449206
The Aaron
Pro
API Scripter
The reason this is hard is because of the conceptual difference between how big something is and how big it appears . &nbsp;I'll break this down as deeply as I can. The salient points: The Roll20 grid is measured in Units. &nbsp;1 Grid Square = 1 Unit If you want your map to easily align to the grid, be certain your image's dimensions are in whole Units. Units can be whatever size you like. &nbsp;Roll20 suggests 70 pixels per unit for maps, or 140 pixels per unit for tokens. &nbsp;Larger sizes have more detail per Grid Square but lead to bigger files. For each of length and height, determine the size as: (Number of Units x Unit size (70 for maps, 140 for tokens, generally) Example: A 2x2 ogre token would be 2 Units x 140 pixels = 280 pixels wide by 280 pixels tall. Example: A creek bed north to south that is 8 Units across by 20 Units tall would be 560 pixels (8 Units x 70 pixels) by 1400 pixels (20 Units x 70 pixels) Discussion: Roll20 creates a grid that is so many Units wide by tall. &nbsp;On screen at 100% zoom, these Units are 70 pixels by 70 pixels. &nbsp;At 200% zoom, they are 140 pixels by 140 pixels. &nbsp;In your game, the Units of your map may be assigned some other measurement scale like feet, and so the interface allows you to measure 3 Units as 15 feet, but the size of that span on screen will depend on the zoom. &nbsp;At 100% zoom, 15 feet == 3 Units == 210 pixels. &nbsp;At 200% zoom, 15 feet == 3 Units == 420 pixels, at 50% zoom, 15 feet == 3 Units == 105 pixels. Similarly, Photoshop creates images. &nbsp;Images have a size in pixels. &nbsp;Just like Roll20, Photoshop has other measurements it can use. &nbsp;Because Photoshop was originally designed for use on photos, where the size of a physical print is what the primary user is concerned about, the default measurement it uses is Pixels per Inch. &nbsp;Pixels per Inch on the screen are intended to translate well to Dots Per Inch (DPI) on a printer. &nbsp;If you created an image that was 5 Pixels per Inch in Photoshop, and told it to be 3 inches by 3 inches, you would have a 15 pixel by 15 pixel image. &nbsp;Just like on Roll20, if you zoom in or out on that image, the size on screen will change. &nbsp;At 200% zoom, your 15 pixel by 15 pixel image will be 30 pixels x 30 pixels. &nbsp;At 100% zoom, 15 pixels (image) == 3 Inches == 15 pixels (screen). &nbsp;At 200% zoom, 15 pixels (image) == 3 inches == 30 pixels (screen). &nbsp;At 200% zoom each image pixel will be 2 screen pixels, the image will look "pixelated" or "retro". =D Practical usage: When I create Maps or Tokens, I set the Pixels per Inch to either 70 (for maps) or 140 (for tokens). &nbsp;That allows me to easily specify the size in Units of the thing I'm drawing by putting in the dimensions in inches. &nbsp;So, if I want to make a 20x20 map, I put in 70 for the Pixels per Inch and then I put 20 inches wide and 20 inches tall. &nbsp;That is exactly equivalent to just putting in the pixel dimensions of 1400 pixels by 1400 pixels. &nbsp;(If I were to go into the settings for the image and change the Pixels per Inch to 140, my image would say it's size is 10 inches by 10 inches, but the pixel size would still be 1400x1400. &nbsp;Pixel size = (Pixels per Inch x Inch Size), Pixels per Inch = Pixel Size/Inch Size ). &nbsp;Another benefit of doing it this way is that the measure tool will let you measure in whichever measurement scale you like, so setting it to inches lets you measure distances on your map in Units. Hopefully that helps!