{"id":899,"date":"2012-12-01T02:53:57","date_gmt":"2012-12-01T06:53:57","guid":{"rendered":"http:\/\/www.sofastatistics.com\/blog\/?p=899"},"modified":"2012-12-01T02:53:57","modified_gmt":"2012-12-01T06:53:57","slug":"getting-export-imagespdfs-working-for-mac-users","status":"publish","type":"post","link":"http:\/\/www.sofastatistics.com\/blog\/getting-export-imagespdfs-working-for-mac-users\/","title":{"rendered":"Getting export images\/pdfs working for Mac users"},"content":{"rendered":"<p>SOFA has a plug-in for exporting reports and individual output as images (PNG) and\/or PDFs. Unfortunately, I haven&#8217;t been able to make a version which works for OS X. The plug-in works on Windows and Linux but there are crucial libraries I haven&#8217;t yet been able to get working on Mac. Fortunately there are some signs of progress. Sid Stewart of <a title=\"PDF Labs\" href=\"http:\/\/www.pdflabs.com\/\" target=\"_blank\">PDF Labs<\/a> is working on a new version of pdftk (one of the libraries I need working) and will be building a new installer for Mac. And wkhtmltopdf and pyPDF are already working. So getting the export output plug-in working for Mac might be possible after all.<\/p>\n<p>You might be able to help. If you are a Mac user, and you are able to get either of the following libraries working on your machine, please drop me a line (grant@sofastatistics.com) letting me know how you did it.<\/p>\n<ul>\n<li>Ghostscript (used to convert PDF \u2192 PNG)<\/li>\n<li>ImageMagick (used to trim PNG to correct dpi) or, even better still, PythonMagick<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>SOFA has a plug-in for exporting reports and individual output as images (PNG) and\/or PDFs. Unfortunately, I haven&#8217;t been able to make a version which works for OS X. The plug-in works on Windows and Linux but there are crucial libraries I haven&#8217;t yet been able to get working on Mac. Fortunately there are some [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[],"class_list":["post-899","post","type-post","status-publish","format-standard","hentry","category-developers","category-general"],"_links":{"self":[{"href":"http:\/\/www.sofastatistics.com\/blog\/wp-json\/wp\/v2\/posts\/899","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.sofastatistics.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.sofastatistics.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.sofastatistics.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.sofastatistics.com\/blog\/wp-json\/wp\/v2\/comments?post=899"}],"version-history":[{"count":2,"href":"http:\/\/www.sofastatistics.com\/blog\/wp-json\/wp\/v2\/posts\/899\/revisions"}],"predecessor-version":[{"id":901,"href":"http:\/\/www.sofastatistics.com\/blog\/wp-json\/wp\/v2\/posts\/899\/revisions\/901"}],"wp:attachment":[{"href":"http:\/\/www.sofastatistics.com\/blog\/wp-json\/wp\/v2\/media?parent=899"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.sofastatistics.com\/blog\/wp-json\/wp\/v2\/categories?post=899"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.sofastatistics.com\/blog\/wp-json\/wp\/v2\/tags?post=899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}