{"action":"created","issue":{"url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/1481","labels_url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/1481/labels{/name}","comments_url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/1481/comments","events_url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/1481/events","html_url":"https://github.com/asciidoctor/asciidoctor/issues/1481","id":105772771,"number":1481,"title":"[PDF] Allow to embed an image in base64","user":{"login":"flarcher","id":7803127,"avatar_url":"https://avatars.githubusercontent.com/u/7803127?v=3","gravatar_id":"","url":"https://api.github.com/users/flarcher","html_url":"https://github.com/flarcher","followers_url":"https://api.github.com/users/flarcher/followers","following_url":"https://api.github.com/users/flarcher/following{/other_user}","gists_url":"https://api.github.com/users/flarcher/gists{/gist_id}","starred_url":"https://api.github.com/users/flarcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flarcher/subscriptions","organizations_url":"https://api.github.com/users/flarcher/orgs","repos_url":"https://api.github.com/users/flarcher/repos","events_url":"https://api.github.com/users/flarcher/events{/privacy}","received_events_url":"https://api.github.com/users/flarcher/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-10T09:49:02Z","updated_at":"2015-09-11T07:36:27Z","closed_at":"2015-09-11T07:36:27Z","body":"Hello, \r\n\r\nI would like to insert an image in the generated PDF having the Blob in the _base64_ format. \r\nThis is related with the closed issue #986 ( I would like to do the same with the PDF backend ).\r\n\r\nI tried to add\r\n```\r\nimage::data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==[]\r\n```\r\nin the document and I got in the logs the following line :\r\n```\r\nasciidoctor: WARNING: image to embed not found or not readable: data:image/png;base64,iVBOR...\r\n```\r\nHere is the command returned by the logs :\r\n```\r\nasciidoctor -B /home/fabrice/tmp -S SAFE -o /home/fabrice/tmp/test.pdf -b pdf -a docdate=2015-09-10 -a data-uri -a allow-uri-read -a doctime=11:34:51 CEST -a icons=font -\r\n```\r\n\r\nI am using `org.asciidoctor:asciidoctorj:1.5.2` and `org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.9`. \r\nIs there a workaround ? Or is it planed for a coming release ?\r\nMany thanks"},"comment":{"url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/comments/139474322","html_url":"https://github.com/asciidoctor/asciidoctor/issues/1481#issuecomment-139474322","issue_url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/1481","id":139474322,"user":{"login":"flarcher","id":7803127,"avatar_url":"https://avatars.githubusercontent.com/u/7803127?v=3","gravatar_id":"","url":"https://api.github.com/users/flarcher","html_url":"https://github.com/flarcher","followers_url":"https://api.github.com/users/flarcher/followers","following_url":"https://api.github.com/users/flarcher/following{/other_user}","gists_url":"https://api.github.com/users/flarcher/gists{/gist_id}","starred_url":"https://api.github.com/users/flarcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flarcher/subscriptions","organizations_url":"https://api.github.com/users/flarcher/orgs","repos_url":"https://api.github.com/users/flarcher/repos","events_url":"https://api.github.com/users/flarcher/events{/privacy}","received_events_url":"https://api.github.com/users/flarcher/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T07:36:27Z","updated_at":"2015-09-11T07:36:27Z","body":"I moved the issue to https://github.com/asciidoctor/asciidoctor-pdf/issues/318 because it is probably more related to that project."}}