I have a large drawing created in Inkscape 1.3.2 (Windows 11). It is 163 Mb. My printshop wants a PDF so I saved document as a PDF and only got some of the objects in the output. There are three attached screenshots. The first is from Inkscape, the second is from the PDF (as viewed in Adobe Acrobat), the third is when exported as a png.
(I can import the png back into Inkscape and save as a PDF. I get an 11Mb PDF. However the problem is the loss of precision. The small fonts are illegible and the images pixellated.)
The problem seems to be with clipped items. Nearly all the images I'm using have been clipped in Inkscape. Some of the few items that do appear have been clipped though.
I was surprised to find that there appears to be no way to crop (destructively) the clipped object - even though I found an option that says 'Crop Image to clip' - this appears to do nothing. So there's no hope of reducing my file size that way?
I'm sure someone has arrived at this impasse before. Any advice would be appreciated.
Even if I redid all the clipping work externally, what are the chances I can get a workable pdf?
Or do I have to look for a printer that will accept a 163Mb upload of an svg file?
Just tried viewing it in a browser. It nearly all displayed but I got the following error
error on line 21 at column 85: xmlns:i: '&ns_ai;' is not a valid URI error on line 22 at column 90: xmlns:ns: '&ns_ai;' is not a valid URI
Frequently this happens with masks, rather than clips. But sometimes there can be a path that is corrupt that freaks out the pdf conversion.
You can test with copies of your document... delete half the copied document and see if it behaves... if so, the problem is in the deleted half Continue, deleting halves of the halves until you isolate the problem object(s).
If you'd like me to take a look (confidentially, not shared with the public) I can PM you my email address.
Thanks Tyler,. I'll try what you suggest. I'll start by removing the items that the browser would not render. Given the size of the file I think its a bit impractical for you to have a look! I'm also going to replace some of the larger clipped items with cropped screen shots of them - just to get the file size down.
I have a large drawing created in Inkscape 1.3.2 (Windows 11). It is 163 Mb. My printshop wants a PDF so I saved document as a PDF and only got some of the objects in the output. There are three attached screenshots. The first is from Inkscape, the second is from the PDF (as viewed in Adobe Acrobat), the third is when exported as a png.
(I can import the png back into Inkscape and save as a PDF. I get an 11Mb PDF. However the problem is the loss of precision. The small fonts are illegible and the images pixellated.)
The problem seems to be with clipped items. Nearly all the images I'm using have been clipped in Inkscape. Some of the few items that do appear have been clipped though.
I was surprised to find that there appears to be no way to crop (destructively) the clipped object - even though I found an option that says 'Crop Image to clip' - this appears to do nothing. So there's no hope of reducing my file size that way?
I'm sure someone has arrived at this impasse before. Any advice would be appreciated.
Even if I redid all the clipping work externally, what are the chances I can get a workable pdf?
Or do I have to look for a printer that will accept a 163Mb upload of an svg file?
Just tried viewing it in a browser. It nearly all displayed but I got the following error
error on line 21 at column 85: xmlns:i: '&ns_ai;' is not a valid URI error on line 22 at column 90: xmlns:ns: '&ns_ai;' is not a valid URI
Frequently this happens with masks, rather than clips. But sometimes there can be a path that is corrupt that freaks out the pdf conversion.
You can test with copies of your document... delete half the copied document and see if it behaves... if so, the problem is in the deleted half Continue, deleting halves of the halves until you isolate the problem object(s).
If you'd like me to take a look (confidentially, not shared with the public) I can PM you my email address.
Thanks Tyler,. I'll try what you suggest. I'll start by removing the items that the browser would not render. Given the size of the file I think its a bit impractical for you to have a look! I'm also going to replace some of the larger clipped items with cropped screen shots of them - just to get the file size down.
Thanks Tyler. I'm sorted. I found the object causing the problem.