musescore/MuseScore — pull request #26 by mgavioli (2012-07-25 21:46:16+00:00)
Title: Normalized size-to-scale factor(s) for images

Size-to-scale factor(s) for images have been normalized so that a freshly imported (and un-modified) image has a scale of 100%.

Size-to-scale factors have been derived from values currently in SvgImage::layout() and RasterImage::layout() which correspond to the following resolutions:

SVG:
_sizeIsSpatium == false: 96 pix/inch (= 3.7764 pix/mm = Mscore::DPMM)
_sizeIsSpatium == true: 10 pix / sp

Raster:
_sizeIsSpatium == false: 240 pix/inch (= 9.434 pix/mm = Mscore::DPMM * 2.5)
_sizeIsSpatium == true: same as above