Replace invalid mime type image/jpg with image/jpeg
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Had this issue come up at Wikipedia. An SVG with an embedded JPG was edited and resaved. When MediaWiki rasterized it into a PNG (using Librsvg) the embedded image didn't show up. After a bit of investigating the cause was found to be a mime type issue. When the SVG was first constructed (with an older version of Inkscape as far as I can tell) a JPG was embedded and asigned the mime type "image/jpg". When Librsvg got hold of it, it didn't recognize "image/jpg"... it wanted "image/jpeg"... and so simply ignored the embedded JPG. It would be good (I would think) for Inkscape to detect that invalid(?) mime type and automatically change it to "image/jpeg". Below are two examples. The first is normal. The second is broken by Librsvg.
https:/
https:/
tags: | added: bitmap importing |
summary: |
- passes along embedded image mime type image/jpg + Replace invalid mime type image/jpg with image/jpeg |
Changed in inkscape: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |