{"action":"created","issue":{"url":"https://api.github.com/repos/yogthos/json-to-pdf/issues/17","repository_url":"https://api.github.com/repos/yogthos/json-to-pdf","labels_url":"https://api.github.com/repos/yogthos/json-to-pdf/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/yogthos/json-to-pdf/issues/17/comments","events_url":"https://api.github.com/repos/yogthos/json-to-pdf/issues/17/events","html_url":"https://github.com/yogthos/json-to-pdf/issues/17","id":386741278,"node_id":"MDU6SXNzdWUzODY3NDEyNzg=","number":17,"title":"Image inside header.","user":{"login":"jarey","id":5025224,"node_id":"MDQ6VXNlcjUwMjUyMjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5025224?v=4","gravatar_id":"","url":"https://api.github.com/users/jarey","html_url":"https://github.com/jarey","followers_url":"https://api.github.com/users/jarey/followers","following_url":"https://api.github.com/users/jarey/following{/other_user}","gists_url":"https://api.github.com/users/jarey/gists{/gist_id}","starred_url":"https://api.github.com/users/jarey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarey/subscriptions","organizations_url":"https://api.github.com/users/jarey/orgs","repos_url":"https://api.github.com/users/jarey/repos","events_url":"https://api.github.com/users/jarey/events{/privacy}","received_events_url":"https://api.github.com/users/jarey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-03T10:03:56Z","updated_at":"2018-12-04T15:49:39Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nWe've come up with the neccesity of inserting an image inside the header of the generated pdf using json-to-pdf.\r\n\r\nWe tried to tweak the json in order to achieve inserting the image, but as the documentation suggest, json-to-pdf seems to only accept plain text at the moment for the header element.\r\n\r\nI saw there's an issue open since, 2016 with something reflecting almost the same neccesity on cli-pdf: \r\n\r\n- https://github.com/clj-pdf/clj-pdf/issues/80\r\n\r\nWas wondering if any progress was made in order to achieve that use-case, or if it's possible to modify existing json-to-pdf state to at least permitt the \"hack\" documented by @alemedeiros on the referenced issue.\r\n\r\nWould be glad to help if any directions are given on how the change could be accomplished (even though I doesn't know clojure at all i would do my best).\r\n\r\nThanks in advance and thanks for the effort put on the library.\r\n"},"comment":{"url":"https://api.github.com/repos/yogthos/json-to-pdf/issues/comments/444148726","html_url":"https://github.com/yogthos/json-to-pdf/issues/17#issuecomment-444148726","issue_url":"https://api.github.com/repos/yogthos/json-to-pdf/issues/17","id":444148726,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDE0ODcyNg==","user":{"login":"jarey","id":5025224,"node_id":"MDQ6VXNlcjUwMjUyMjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5025224?v=4","gravatar_id":"","url":"https://api.github.com/users/jarey","html_url":"https://github.com/jarey","followers_url":"https://api.github.com/users/jarey/followers","following_url":"https://api.github.com/users/jarey/following{/other_user}","gists_url":"https://api.github.com/users/jarey/gists{/gist_id}","starred_url":"https://api.github.com/users/jarey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarey/subscriptions","organizations_url":"https://api.github.com/users/jarey/orgs","repos_url":"https://api.github.com/users/jarey/repos","events_url":"https://api.github.com/users/jarey/events{/privacy}","received_events_url":"https://api.github.com/users/jarey/received_events","type":"User","site_admin":false},"created_at":"2018-12-04T15:49:39Z","updated_at":"2018-12-04T15:49:39Z","author_association":"NONE","body":"Hello @yogthos ,\r\n\r\nThanks for your kind reply.\r\n\r\nI will try to have a look at the posibilities to accomplish it with iText4 API. We are currently inserting the header with an image into the pdf using iText just after the pdf creation using json-to-pdf. We do it in a hardcoded way, but maybe the fundaments help to fit it into the necessity here.\r\n\r\nWill reply here with the follow up once I can have an eye on it.\r\n\r\nThanks again."}}
{"actor":{"display_login":"jarey"}}