![]() Thus if I say my square is 90 pixels, that could be 1", 1.1" or 0.9" depending on the dpi. We are converting from pixels to inches, but how many pixels are in an inch changes depending on the program we are using (90, 96 or 72). Yeah, I understand what’s causing the issue. If you change the Illustrator rulers to pixels, it will show 72 pixels. Since inches are defined in the file, when you open it in Illustrator (or the GFUI), your square will be 1”. Change it back to inches, it will be an inch. In Inkscape, if you change the unit display to pixels, it will show 96. Now, if you set the document to an absolute unit like inches.Ĭreate a 1” square. ![]() If you bring that SVG into Illustrator (which uses 72 DPI) - your square will no longer be displayed as being an inch - it will be 1.33” in the program because the DPI representation is different. If you save that SVG and it doesn’t define the units, or the units are defined as pixels, then it’s assumed to be a 96 pixel square - not 1 inch. If you create a 96 pixel square in Inkscape, it will appear to be 1 inch against the in-program rulers (I believe the newest Inkscape uses 96 dpi, the older version uses 90) We will use Inkscape and Illustrator as an example. I don’t think I’m explaining it very well… If anyone has Illustrator, can they save the svg, open it and tell me how big the square is (and it’s position)? I don’t have Illustrator, so I can’t tell if it will scale well in Illustrator. So I don’t know how the SVG specified how wide one pixel is. If I look at the svg code, I see that the document properties are set in inches: Here is an SVG I made with Inkscape that has a 1"x1" square that is 1" from the bottom and 1" from the left. ![]() I already set my display units and document units to inches.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |