Hello,
I have the PDF output issue with the inkscape command line. I have one SVG which contains the image in it. So When I am export the SVG to PDF the upper part of the image in the PDF is cutting with straight line. And when I am open the PDF in adobe illustrator, the image is work like the pattern and repeat in whole page.
I am using the Inkscape 0.48.4 r9939 (Feb 22 2014) version.
Please find the attached zip file which contains the SVG and it's PNG file and exported PDF file
Please provide me the solution. It's very important for me.
Regards,
Ajay
Commandline Problems
-
- Posts: 1
- Joined: Sun Jun 28, 2015 12:20 am
Commandline Problems
- Attachments
-
- sample.rar
- test.svg have the png image(sample.png) and test.pdf is the exported output pdf from the SVG with command line.
- (24.13 KiB) Downloaded 162 times
Re: Commandline Problems
Hi.
I can't help much with command lines as I do not use thse features myself.
However, it seems that settings "Bleed/margin (mm)" for PDF export dialog box is set to a positive number greater than 0.
I don't know if this is possible to control by command line, but from own experience I see that Inkscape remember this settings from one session to the next. Therefore I suggest you trying to open Inkscape, and manually save as PDF, set the "Bleed/margin (mm)" number to 0.
Then try your Inkscape command and see if it works better.
I can't help much with command lines as I do not use thse features myself.
However, it seems that settings "Bleed/margin (mm)" for PDF export dialog box is set to a positive number greater than 0.
I don't know if this is possible to control by command line, but from own experience I see that Inkscape remember this settings from one session to the next. Therefore I suggest you trying to open Inkscape, and manually save as PDF, set the "Bleed/margin (mm)" number to 0.
Then try your Inkscape command and see if it works better.
Re: Commandline Problems
Which OS/platform?ajaymakwana wrote:I am using the Inkscape 0.48.4 r9939 (Feb 22 2014) version.
From the PDF file:ajaymakwana wrote:When I am export the SVG to PDF the upper part of the image in the PDF is cutting with straight line
Code: Select all
Creator: cairo 1.8.8 (http://cairographics.org)
- confirmed with cairo >= 1.10.2 (current release is cairo 1.14.2)
Re: Commandline Problems
As far as I can tell that seems more of an Illustrator problem than something to blame Inkscape or cairo for - though it likely will also not occur if the PDF was exported with Inkscape using a more recent version of cairo (the internal structure of the exported PDF file seems to have changed, and no longer uses a clipped object with a pattern fill for such embedded bitmap images).ajaymakwana wrote:And when I am open the PDF in adobe illustrator, the image is work like the pattern and repeat in whole page.
In the attached zip file there are a couple of PDFs exported via command line on OS X 10.7.5 using different inkscape and cairo versions - you can test yourself whether Illustrator handles those files created with cairo >= 1.10 better or not (I don't have access to AI to test this myself).
- Attachments
-
- test-pdf-exports.zip
- (61.63 KiB) Downloaded 163 times