Hey eveyone,
I am looking for a solution to convert svg files to pdf on AWS lambda.
Since inkscape has a commandline interface, it seems to be a good choice.
But for this to work inkscape would have to run on a headless linux system. No X11, not gtk etc.
So I am wondering, can inkscape be modified so that it can compile in "Headless" mode.
I looked at the inkscape code, and at a first glance it does not seemt to be sooo simple.
Can anyone estimate if this makes sense and how much work this would be?
Thanks! Nathan
Inkscape is used in headless on openclipart.org and I've attempted to compile inkscape myself but got stuck on an older machine (Centos6 in this case) so I wasn't able to get it work.
But, having the gtk libraries doesn't require xorg, you could compile gdk for broadway or some other light backend instead. I wish I knew which method OC used.
Maybe the best way to do it is to make a local compile and install everything in it's own opt directory. So your gtk build doesn't get installed globally.
Let us know if you manage to get it installed and which method you used.
Best Regards, Martin Owens
On Sun, 2016-12-25 at 13:55 +0100, Nathan Hüsken wrote:
Hey eveyone,
I am looking for a solution to convert svg files to pdf on AWS lambda.
Since inkscape has a commandline interface, it seems to be a good choice.
But for this to work inkscape would have to run on a headless linux system. No X11, not gtk etc.
So I am wondering, can inkscape be modified so that it can compile in "Headless" mode.
I looked at the inkscape code, and at a first glance it does not seemt to be sooo simple.
Can anyone estimate if this makes sense and how much work this would be?
Thanks! Nathan
Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/intel _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
On Mon, Dec 26, 2016 at 03:02:29PM +0000, Martin Owens wrote:
Inkscape is used in headless on openclipart.org and I've attempted to compile inkscape myself but got stuck on an older machine (Centos6 in this case) so I wasn't able to get it work.
But, having the gtk libraries doesn't require xorg, you could compile gdk for broadway or some other light backend instead. I wish I knew which method OC used.
Maybe the best way to do it is to make a local compile and install everything in it's own opt directory. So your gtk build doesn't get installed globally.
Let us know if you manage to get it installed and which method you used.
Another option might be to look at xvfb.
Best Regards, Martin Owens
On Sun, 2016-12-25 at 13:55 +0100, Nathan Hüsken wrote:
Hey eveyone,
I am looking for a solution to convert svg files to pdf on AWS lambda.
Since inkscape has a commandline interface, it seems to be a good choice.
But for this to work inkscape would have to run on a headless linux system. No X11, not gtk etc.
So I am wondering, can inkscape be modified so that it can compile in "Headless" mode.
I looked at the inkscape code, and at a first glance it does not seemt to be sooo simple.
Can anyone estimate if this makes sense and how much work this would be?
Thanks! Nathan
Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/intel _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2
iQIcBAABCAAGBQJYYTEFAAoJEOVbsiwf4qcg4YcP/iTBgN0aPnTLBeq/pk2OLa73 xmRB9zMb7wRTD/tq6ONwPtovb06PVC0dgv3YiuJJc/Vt9mbqxW3Culnn8gPIiXdU 1s4sxvVPmuVoRs0UdYZx2H6R8QWzv4XaNbzbto7okQnb/8/63M8K0Dk3aXpRXxw1 JQcFvDXHbKFAlVvxYxfr/zjAIEtj59VOE7xrfpQgNdT9cxdvlh4OYDkVoYGkjhUR I4Ua2v0vkwbcW9kXdoF3WXV/TBGdQ0X04zFeRzDue0GBXctsO/UpAME7tCU2czVm 8RT2mdWwQqaV2LfKu9bO8i4BrDCFC5xCftULkImAgzaVf/TEI0wBSo3hyyLelsPO MY/jGlw1wmvZ9eOXeTHnFr4WmPbwnQ/mm1F8/YaOIxksfxoW48WvQoPOY2ksWQtV LJpbIqdCKpy9N9/vTy2TsA8ogNbtEJ/guubUmaIihOWE4/L+7pRLSzHsqDrB5DPs c5KUaB5A3wVH+YxAHQcM568sdpabIqLaHesJ3WzS7mG0C5qilqZAcE9LDP/ycAbN KZZYMMc519M0iAWuyXJqNJ4gwCQQX+WcBD97fCyIbYchISS+oLP3/J6iwoGQDOr1 jJ42TPkRN2+sudrbYNII3F8IhGhQtN9QM0kbbXiz8P0k6bvdb3IKFWAVQAUPMfGH 8h+NDemDgMq90M9N7Wxr =Q44+ -----END PGP SIGNATURE-----
Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/intel
Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
participants (3)
-
Bryce Harrington
-
Martin Owens
-
Nathan Hüsken