Loading ...
Sorry, an error occurred while loading the content.

Re: [svg-developers] Image data embedding

Expand Messages
  • Jon Ferraiolo
    The data URL scheme is documented at: ftp://www.ietf.org/rfc/rfc2397.txt Jon Ferraiolo ... completely
    Message 1 of 2 , Jun 5, 2000
    • 0 Attachment
      The data URL scheme is documented at: ftp://www.ietf.org/rfc/rfc2397.txt

      Jon Ferraiolo

      At 05:38 PM 6/5/00 +0200, Chris Lilley wrote:
      >
      >
      >"Evenblij, Paul" wrote:
      >>
      >> Hi,
      >>
      >> We are working on a SVG exporter for a simple diagram-drawing tool. Among
      >> other graphic elements, diagrams can contain images in GIF, JPEG, Windows
      >> BMP, (and perhaps, in future, PNG) format.
      >
      >Note that SVG viewers are required to support JPEG and PNG formats. If you
      >convert those GFIFs to indexed PNG and the BMP to indexed or 24-bit PNG as
      >appropriate, you will save space without loosingany quality.
      >
      >> My question is: is there a way to
      >> embed image data in SVG documents? We want our export files to be
      completely
      >> self-contained, without references to external image files. I have searched
      >> the W3 draft spec for possible solutions, but have not managed to come up
      >> with any, so far.
      >
      >The data: url scheme, which is not specific to SVG, can be used for this.
      >However, be aware that the cost of doingthis is a big increase in filesize
      >and a reduction in cacheing efficiency if any images are reused between
      >different SVG files.
      >
      >--
      >Chris
      >
      >------------------------------------------------------------------------
      >Find long lost high school friends:
      >http://click.egroups.com/1/4056/5/_/68048/_/960219518/
      >------------------------------------------------------------------------
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.