{"action":"created","issue":{"url":"https://api.github.com/repos/jcupitt/libvips/issues/379","repository_url":"https://api.github.com/repos/jcupitt/libvips","labels_url":"https://api.github.com/repos/jcupitt/libvips/issues/379/labels{/name}","comments_url":"https://api.github.com/repos/jcupitt/libvips/issues/379/comments","events_url":"https://api.github.com/repos/jcupitt/libvips/issues/379/events","html_url":"https://github.com/jcupitt/libvips/issues/379","id":131801358,"number":379,"title":"Better PDF support","user":{"login":"felixbuenemann","id":909587,"avatar_url":"https://avatars.githubusercontent.com/u/909587?v=3","gravatar_id":"","url":"https://api.github.com/users/felixbuenemann","html_url":"https://github.com/felixbuenemann","followers_url":"https://api.github.com/users/felixbuenemann/followers","following_url":"https://api.github.com/users/felixbuenemann/following{/other_user}","gists_url":"https://api.github.com/users/felixbuenemann/gists{/gist_id}","starred_url":"https://api.github.com/users/felixbuenemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixbuenemann/subscriptions","organizations_url":"https://api.github.com/users/felixbuenemann/orgs","repos_url":"https://api.github.com/users/felixbuenemann/repos","events_url":"https://api.github.com/users/felixbuenemann/events{/privacy}","received_events_url":"https://api.github.com/users/felixbuenemann/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jcupitt/libvips/labels/enhancement","name":"enhancement","color":"0b02e1"},{"url":"https://api.github.com/repos/jcupitt/libvips/labels/in%20development","name":"in development","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":30,"created_at":"2016-02-06T01:06:18Z","updated_at":"2016-02-10T14:14:24Z","closed_at":null,"body":"It would be great if libvips had a direct binding to a pdf library to allow efficient generation of eg. thumbnails from PDFs.\r\n\r\nvips currently can read pdfs via imagemagick or graphicksmagic, but both of these are very slow and memory inefficient at that.\r\n\r\nI think a good candidate could be libpoppler which has a cairo output device ([Usage in pdftocairo utility](http://cgit.freedesktop.org/poppler/poppler/tree/utils/pdftocairo.cc))."},"comment":{"url":"https://api.github.com/repos/jcupitt/libvips/issues/comments/182392075","html_url":"https://github.com/jcupitt/libvips/issues/379#issuecomment-182392075","issue_url":"https://api.github.com/repos/jcupitt/libvips/issues/379","id":182392075,"user":{"login":"jcupitt","id":580843,"avatar_url":"https://avatars.githubusercontent.com/u/580843?v=3","gravatar_id":"","url":"https://api.github.com/users/jcupitt","html_url":"https://github.com/jcupitt","followers_url":"https://api.github.com/users/jcupitt/followers","following_url":"https://api.github.com/users/jcupitt/following{/other_user}","gists_url":"https://api.github.com/users/jcupitt/gists{/gist_id}","starred_url":"https://api.github.com/users/jcupitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcupitt/subscriptions","organizations_url":"https://api.github.com/users/jcupitt/orgs","repos_url":"https://api.github.com/users/jcupitt/repos","events_url":"https://api.github.com/users/jcupitt/events{/privacy}","received_events_url":"https://api.github.com/users/jcupitt/received_events","type":"User","site_admin":false},"created_at":"2016-02-10T14:14:24Z","updated_at":"2016-02-10T14:14:24Z","body":"mupdf has a thing where you can keep the decoded assets between renders to avoid repeated scans. I'll see if I can get that working. \r\n\r\nMupdf is not free for commercial use, unfortunately, I don't know if that's a serious blocker."}}