3485
3484
// Create the repr for the image
3486
3485
Inkscape::XML::Node * repr = xml_doc->createElement("svg:image");
3487
3486
sp_embed_image(repr, pb, "image/png");
3487
if (res == Inkscape::Util::Quantity::convert(1, "in", "px")) { // for default 90 dpi, snap it to pixel grid
3489
3488
sp_repr_set_svg_double(repr, "width", width);
3490
3489
sp_repr_set_svg_double(repr, "height", height);