Resized bitmap images are rendered differently by Firefox or Batik ('preserveAspectRatio' attribute not set)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
Tavmjong Bah |
Bug Description
Technical details of solution at:
https:/
extra explanation:
https:/
I have generated a couple of SVG that have embedded images with Inkscape
but after opening or files in firefox, I get everything perfectly rendered
except the images.
Reproducible: Always
Steps to Reproduce:
1.Print/Export any website with background images enabled to a PDF (i.e. using
FreePDFXP)
2.Import the PDF into Inkscape (embedding images)
3.Save the image in SVG format.
4.Open the SVG file in Firefox.
Actual Results:
After opening or files in firefox, I get everything perfectly rendered except
the images which look compressed. The files open fine in Inkscape.
Expected Results:
The embedded images in SVG should render fully as in the original WebSite/PDF.
tags: | added: importing pdf |
summary: |
- SVG with embedded images are not readable by Firefox or Baltik + Resized bitmap images are rendered differently by Firefox or Batik + ('preserveAspectRatio' attribute not set) |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Reproduced with Inkscape 0.48+devel r9701 on OS X 10.5.8 (poppler 0.12.4, cairo 1.8.10)
An imported PDF with embedded images and saved as SVG file only renders as expected in Inkscape, but looks different with regard to the scaling of the embedded bitmap from other renderers (e.g. Firefox 3.6.8, Safari 5.0, Opera 10.60 and Squiggle (Batik 1.7)).