Inkscape does not actually embed the image files given
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Inkscape version: 0.48.2
OS: Windows 7 Home Premium SP 1
Inkscape does not actually embed the files given it, but actually recompresses them. It removes any optimization applied to PNGs, which makes SVGs larger than they should be, but, far worse, it also recompresses any JPEGs, which actually destroys information. In the example below, I put in a JPEG encoded at 95% with 4:4:4 chroma, but the extracted file is always 75% with 4:2:2 chroma.
Attachment is a zip file including both of the original image files and an SVG that supposedly contains them. To extract the images, simply load the SVG, unmask the images (Object > Unmask > Release), and use Extensions > Images > Extract Image as intended. To verify that the problem is with embedding and not with the extension, you can open the SVG and manually decode the Base64 portions of the Data URIs. To verify it is not just my system, you can recreate the SVG file yourself with the included images.
tags: | added: bitmap importing |
Version of attachment's svg without mask.