{"action":"created","issue":{"url":"https://api.github.com/repos/gettalong/hexapdf/issues/1","repository_url":"https://api.github.com/repos/gettalong/hexapdf","labels_url":"https://api.github.com/repos/gettalong/hexapdf/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/gettalong/hexapdf/issues/1/comments","events_url":"https://api.github.com/repos/gettalong/hexapdf/issues/1/events","html_url":"https://github.com/gettalong/hexapdf/issues/1","id":185415976,"number":1,"title":"Can an existing PDF be used as a template?","user":{"login":"jemminger","id":2272,"avatar_url":"https://avatars.githubusercontent.com/u/2272?v=3","gravatar_id":"","url":"https://api.github.com/users/jemminger","html_url":"https://github.com/jemminger","followers_url":"https://api.github.com/users/jemminger/followers","following_url":"https://api.github.com/users/jemminger/following{/other_user}","gists_url":"https://api.github.com/users/jemminger/gists{/gist_id}","starred_url":"https://api.github.com/users/jemminger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jemminger/subscriptions","organizations_url":"https://api.github.com/users/jemminger/orgs","repos_url":"https://api.github.com/users/jemminger/repos","events_url":"https://api.github.com/users/jemminger/events{/privacy}","received_events_url":"https://api.github.com/users/jemminger/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"gettalong","id":4104,"avatar_url":"https://avatars.githubusercontent.com/u/4104?v=3","gravatar_id":"","url":"https://api.github.com/users/gettalong","html_url":"https://github.com/gettalong","followers_url":"https://api.github.com/users/gettalong/followers","following_url":"https://api.github.com/users/gettalong/following{/other_user}","gists_url":"https://api.github.com/users/gettalong/gists{/gist_id}","starred_url":"https://api.github.com/users/gettalong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gettalong/subscriptions","organizations_url":"https://api.github.com/users/gettalong/orgs","repos_url":"https://api.github.com/users/gettalong/repos","events_url":"https://api.github.com/users/gettalong/events{/privacy}","received_events_url":"https://api.github.com/users/gettalong/received_events","type":"User","site_admin":false},"assignees":[{"login":"gettalong","id":4104,"avatar_url":"https://avatars.githubusercontent.com/u/4104?v=3","gravatar_id":"","url":"https://api.github.com/users/gettalong","html_url":"https://github.com/gettalong","followers_url":"https://api.github.com/users/gettalong/followers","following_url":"https://api.github.com/users/gettalong/following{/other_user}","gists_url":"https://api.github.com/users/gettalong/gists{/gist_id}","starred_url":"https://api.github.com/users/gettalong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gettalong/subscriptions","organizations_url":"https://api.github.com/users/gettalong/orgs","repos_url":"https://api.github.com/users/gettalong/repos","events_url":"https://api.github.com/users/gettalong/events{/privacy}","received_events_url":"https://api.github.com/users/gettalong/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-10-26T14:48:41Z","updated_at":"2016-10-26T15:15:26Z","closed_at":"2016-10-26T15:15:26Z","body":"In older versions of Prawn (0.12) you could start with an existing PDF as a template, and add text/etc on top of it.  Does/will hexapdf support this?"},"comment":{"url":"https://api.github.com/repos/gettalong/hexapdf/issues/comments/256379007","html_url":"https://github.com/gettalong/hexapdf/issues/1#issuecomment-256379007","issue_url":"https://api.github.com/repos/gettalong/hexapdf/issues/1","id":256379007,"user":{"login":"gettalong","id":4104,"avatar_url":"https://avatars.githubusercontent.com/u/4104?v=3","gravatar_id":"","url":"https://api.github.com/users/gettalong","html_url":"https://github.com/gettalong","followers_url":"https://api.github.com/users/gettalong/followers","following_url":"https://api.github.com/users/gettalong/following{/other_user}","gists_url":"https://api.github.com/users/gettalong/gists{/gist_id}","starred_url":"https://api.github.com/users/gettalong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gettalong/subscriptions","organizations_url":"https://api.github.com/users/gettalong/orgs","repos_url":"https://api.github.com/users/gettalong/repos","events_url":"https://api.github.com/users/gettalong/events{/privacy}","received_events_url":"https://api.github.com/users/gettalong/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T15:15:26Z","updated_at":"2016-10-26T15:15:26Z","body":"FYI: The [prawn-template](https://github.com/prawnpdf/prawn-templates) gem should work with the latest Prawn version again.\r\n\r\nAs for HexaPDF:\r\n\r\n* Yes, this works out of the box. You can find an example on the [hexapdf website](http://hexapdf.gettalong.org/examples/show_char_bboxes.html) where this functionality is used.\r\n\r\n* Also note that HexaPDF allows using a page from a PDF file like an image, thus having access to a vector graphics format (besides the lossless PNG and the lossy JPEG format).\r\n\r\n* It is possible to have three canvas for a page: The main canvas where all the drawing operations would be done or which represents an existing page. And their is a canvas for an overlay and one for an underlay. See http://hexapdf.gettalong.org/api/HexaPDF/Type/Page.html#method-i-canvas"}}
{"actor":{"display_login":"gettalong"}}