title: Convert (or re-compress) bitmap/raster images embedded in an SVG?
body: <p>It is possible to embed bitmap/raster images into an SVG (via the image tag).</p>
  
  <p>Is there a tool (preferable command line) to change the format or the compression of the embedded bitmaps? For example, I have an SVG with an embedded PNG bitmap image. I'm looking for a tool that could be called like</p>
  
  <pre><code>svgconvertertool -convert_embedded_pngs_to_jpg -compression high  -f original.svg -out result.svg
  </code></pre>
  
  <p>creating a new svg with is similar to the original svg, except that all embedded pngs are converted to jpg.</p>
  
  <p>Background: I want to reduce the file size of a couple of SVGs. The file size is basically determined by the embedded PNGs, which I want to convert to (low-quality) JPGs.</p>
  
  <p>Does imagemagick knows that trick?</p>