]> Something Witty Goes Here

codedread

Posts Tagged ‘inskcape’

Inkscape Bug with Embedded Rasters

Wednesday, August 27th, 2008

Imagine for a moment:

  1. Joe User knows nothing about the SVG format other than it’s an image format.
  2. Starts a new document in Inkscape
  3. Imports a raster image (PNG) from the hard drive
  4. Saves image as SVG
  5. Uploads the SVG file to a clip art website
  6. Is baffled why the image displays fine on his computer in the browser but is blank for everyone else

Yes this could really happen. So how do we fix it?

  • Warn during Import stage of local references?
  • Warn during Save stage of local references?
  • Embed raster as a data: url in the SVG source (breaking link with local file)?
codedread codedread