Hello,
I'm trying to create some vector graphic on top of a jpg, and then converting it to pdf (to use in latex).
When I save the file without the jpg image, the file size is about 15 KB.
The jpg size is 38 KB. it remains 38 KB when I convert it to pdf using ImageMagick convert.
When I include the jpg in the svg and then convert it to pdf, I would expect the size to be about 55 KB. However, the size becomes about 195 KB.
I guess inkscape (or maybe cairo?) some how convert the jpg to uncompressed bitmap. Is that right?
Is there anyway work around for this issue?
Thanks in advance.
huge pdf file size when svg contains jpg
Re: huge pdf file size when svg contains jpg
I think that Inkscape might be rewriting the image as PNG and this might account for the slightly larger size. If you really want to know try converting the image to PNG in some other program and see if the filesize in Inkscape's SVG changes...
Your mind is what you think it is.