Export Resolution issue (DPI, xcode)

Post questions on how to use or achieve an effect in Inkscape.
0rsa
Posts: 2
Joined: Mon Oct 06, 2014 6:37 pm

Export Resolution issue (DPI, xcode)

Postby 0rsa » Mon Oct 06, 2014 6:53 pm

Hello all !

As u know, xcode 6 allows now to use PDF Vectors instead PNG files : http://martiancraft.com/blog/2014/09/ve ... es-xcode6/

I created with Inkscape a 29px * 29px file which I try to export into a PDF file, setting DPI at 72.

When I try to import this PDF into xcode, I get a 24px * 24px Image and it is not possible to resize it into xcode.

If I do the same operation with Adobe Illustrator, the PDF File into xcode has the good dimensions : 29px * 29px.

I also tried to convert svg from Inkscape to pdf vector using cloundconvert and I get the same issue.

If I import the SVG file from Inkscape to Illustrator, I get a dimensions issue too.


All my new vectors icons for iOS 8 have been created with Inkscape, how can I resolve this issue to export correct PDF File with the good dimensions ?

When I change DPI settings in PDF export settings dialog box, there is absolutely no change at all and the dimensions are wrong.

I looked at many posts about this dimensions issue (especially Inkscape sizes/DPI@90 vs. Illustrator sizes/DPI@72) but I found no solution for my problem.

Can you help me please ?

Thank you in advance!

0rsa
Posts: 2
Joined: Mon Oct 06, 2014 6:37 pm

Re: Export Resolution issue (DPI, xcode)

Postby 0rsa » Mon Oct 06, 2014 7:54 pm

If I import the SVG from Inkscape into Illustrator and then, I export into PDF File still using Illustrator, the PDF Vector has good dimensions.

Well, I did an automation script on all of my SVG with Illustrator and I get correct PDFs for xcode.

The problem is solved for me!

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Export Resolution issue (DPI, xcode)

Postby Lazur » Mon Oct 06, 2014 10:23 pm

Hi.

The export dpi settings only affect the rasterisation of the used filters.
Inkscape works at 90 dpi.
Meaning you will end up with a 29/29 embedded raster part only if you export the 29/29 area at 90 dpi.
If for raster(ised) parts, because vector eobjects sizes should be the same in pixel dimensions.


Return to “Help with using Inkscape”