User:JoKalliauer/SVG units

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

definitions

[edit]
2.54cm=1in
25.4mm=1in
1in=25.4mm
72pt=1in
1pc=12pt
in=90px(90dpi)=96px(96dpi)

convertion to px

[edit]
unit abb in pt px (90dpi) px (96dpi)
Zentimeter 1cm 50in/127 3600pt/127 4500px/127 4800px/127
Millimeter 1mm 5in/127 360pt/127 450px/127 480px/127
Inch 1in 1in 72pt 90px 96px
point 1pt 1in/72 1pt 5px/4 4px/3
Pica 1pc 1in/6 12 15 16

convertion from px

[edit]
px pc pt in mm cm
1px(90dpi) 1pc/15 4pt/5 1in/90 127mm/450 127mm/4500
1px(96dpi) 1pc/16 3pt/4 1in/96 127mm/480 127mm/4800

dpi

[edit]

90 dpi: (outdated)

  • Inkscape 0.91 r13725 (and earlier)
  • librsvg in all published releases (till including 2.51)

96 dpi: (CSS-standard)

  • Inkscape 0.91 (and later)
  • librsvg in future releases (from 2.52)
  • resvg
  • batik