{"action":"created","issue":{"url":"https://api.github.com/repos/mike42/escpos-php/issues/378","repository_url":"https://api.github.com/repos/mike42/escpos-php","labels_url":"https://api.github.com/repos/mike42/escpos-php/issues/378/labels{/name}","comments_url":"https://api.github.com/repos/mike42/escpos-php/issues/378/comments","events_url":"https://api.github.com/repos/mike42/escpos-php/issues/378/events","html_url":"https://github.com/mike42/escpos-php/issues/378","id":235025079,"number":378,"title":"Printing a logo with arabic text","user":{"login":"Iftikharali85","id":16745890,"avatar_url":"https://avatars1.githubusercontent.com/u/16745890?v=3","gravatar_id":"","url":"https://api.github.com/users/Iftikharali85","html_url":"https://github.com/Iftikharali85","followers_url":"https://api.github.com/users/Iftikharali85/followers","following_url":"https://api.github.com/users/Iftikharali85/following{/other_user}","gists_url":"https://api.github.com/users/Iftikharali85/gists{/gist_id}","starred_url":"https://api.github.com/users/Iftikharali85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Iftikharali85/subscriptions","organizations_url":"https://api.github.com/users/Iftikharali85/orgs","repos_url":"https://api.github.com/users/Iftikharali85/repos","events_url":"https://api.github.com/users/Iftikharali85/events{/privacy}","received_events_url":"https://api.github.com/users/Iftikharali85/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-10T20:27:39Z","updated_at":"2017-06-11T07:34:48Z","closed_at":"2017-06-11T07:34:16Z","body":"@mike42 \r\nThanks for this great lib mike, my question is that i want to print a logo that is a picture and some text in arabic.\r\n\r\nI am able to print the arabic text with your example but when I am trying to use printer->graphics('logo.png') , it gave me error that Imagick is unable to open Blob.\r\n \r\n\r\n> Fatal error: Uncaught exception 'ImagickException' with message 'UnableToOpenBlob `test/logo.png': No such file or directory @ error/blob.c/OpenBlob/2702' in D:\\printer\\src\\Mike42\\Escpos\\ImagickEscposImage.php on line 152\r\n\r\nI think i need to use that image as apart of the buffer. An illustrative example would be appreciated.\r\nThanks."},"comment":{"url":"https://api.github.com/repos/mike42/escpos-php/issues/comments/307612082","html_url":"https://github.com/mike42/escpos-php/issues/378#issuecomment-307612082","issue_url":"https://api.github.com/repos/mike42/escpos-php/issues/378","id":307612082,"user":{"login":"Iftikharali85","id":16745890,"avatar_url":"https://avatars1.githubusercontent.com/u/16745890?v=3","gravatar_id":"","url":"https://api.github.com/users/Iftikharali85","html_url":"https://github.com/Iftikharali85","followers_url":"https://api.github.com/users/Iftikharali85/followers","following_url":"https://api.github.com/users/Iftikharali85/following{/other_user}","gists_url":"https://api.github.com/users/Iftikharali85/gists{/gist_id}","starred_url":"https://api.github.com/users/Iftikharali85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Iftikharali85/subscriptions","organizations_url":"https://api.github.com/users/Iftikharali85/orgs","repos_url":"https://api.github.com/users/Iftikharali85/repos","events_url":"https://api.github.com/users/Iftikharali85/events{/privacy}","received_events_url":"https://api.github.com/users/Iftikharali85/received_events","type":"User","site_admin":false},"created_at":"2017-06-11T07:34:48Z","updated_at":"2017-06-11T07:34:48Z","body":"I have fixed this issue, its problem with the imagick, it needs an absolute path to the server. Thanks"}}
{"actor":{"display_login":"Iftikharali85"}}