<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
    <title></title>
  </head>

  <body>
    Ok, I have good news and bad news.<br />
    <br />
    The good news is that multipage is standard now in SVG 1.2, and it is possible to embed a raster image in the SVG if you encode it in base64. Embedded images are partially supported in inkscape via python extensions.<br />
    <br />
    The bad news is that you can&#39;t set the canvas sizes of individual pages - only the orientation. Ideally we would set the bounding box of each page.<br />
    <br />
    One solution would be to set the canvas size to some arbitrary size, then tag the individual pages with custom attributes from some kind of wine namespace extension, that would tell the renderer what boundary box to draw with, and what bit depth to sample to.<br />
    <br />
    The alternative solution (which I favour) would be a one canvas workflow, which some Tango artists are using. This was the approach I took when I was making icons for Lumiera:<br />
    http://www.lumiera.org/gitweb?p=lumiera/ichthyo;a=blob_plain;f=icons/svg/tool-arrow.svg;hb=HEAD<br />
    <br />
    In this solution you have a single page with multiple icon images present. You then place on top of these images &quot;magic&quot; invisible rectangles which have been tagged so that the renderer script knows to treat these as boundary boxes. For wine&#39;s purposes, you would then need embed to the canvas any raster images and tag these in a similar way which instructs the renderer to decode the base64 into a files. Multiple vector rendering would then combine together with multiple raster images unpacked, and these would be bundled into an ico.<br />
    <br />
    The great advantage is that inkscape supports this stuff today, so it&#39;s not so bad for artists. <br />
    <br />
    How does that sound?<br />
    <br />
    Joel<br />
  </body>
</html>