{"action":"created","issue":{"url":"https://api.github.com/repos/claviska/SimpleImage/issues/219","repository_url":"https://api.github.com/repos/claviska/SimpleImage","labels_url":"https://api.github.com/repos/claviska/SimpleImage/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/claviska/SimpleImage/issues/219/comments","events_url":"https://api.github.com/repos/claviska/SimpleImage/issues/219/events","html_url":"https://github.com/claviska/SimpleImage/issues/219","id":296587099,"number":219,"title":"Is toDataUri Working? Have any Dependencies?","user":{"login":"brittonk","id":141741,"avatar_url":"https://avatars3.githubusercontent.com/u/141741?v=4","gravatar_id":"","url":"https://api.github.com/users/brittonk","html_url":"https://github.com/brittonk","followers_url":"https://api.github.com/users/brittonk/followers","following_url":"https://api.github.com/users/brittonk/following{/other_user}","gists_url":"https://api.github.com/users/brittonk/gists{/gist_id}","starred_url":"https://api.github.com/users/brittonk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brittonk/subscriptions","organizations_url":"https://api.github.com/users/brittonk/orgs","repos_url":"https://api.github.com/users/brittonk/repos","events_url":"https://api.github.com/users/brittonk/events{/privacy}","received_events_url":"https://api.github.com/users/brittonk/received_events","type":"User","site_admin":false},"labels":[{"id":516219809,"url":"https://api.github.com/repos/claviska/SimpleImage/labels/Question","name":"Question","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-13T01:50:21Z","updated_at":"2018-02-13T02:31:33Z","closed_at":null,"author_association":"NONE","body":"Im attempting to output as base64 for the first time but it doesn't work for me. Am I doing something wrong?\r\n\r\n```php\r\n$image = new \\claviska\\SimpleImage();\r\n$image->fromNew(1080, 1920)\r\n  ->text($speed . ' mph', array(\r\n  'fontFile' => '/font2.ttf',\r\n  'size' => 200,\r\n  'color' => 'black',\r\n  'shadow' => array('x'=>'5', 'y'=>'5', 'color'=>'white'),\r\n  'yOffset' => 700\r\n  ))\r\n  ->toDataUri('image/png', 100)\r\n```"},"comment":{"url":"https://api.github.com/repos/claviska/SimpleImage/issues/comments/365131739","html_url":"https://github.com/claviska/SimpleImage/issues/219#issuecomment-365131739","issue_url":"https://api.github.com/repos/claviska/SimpleImage/issues/219","id":365131739,"user":{"login":"brittonk","id":141741,"avatar_url":"https://avatars3.githubusercontent.com/u/141741?v=4","gravatar_id":"","url":"https://api.github.com/users/brittonk","html_url":"https://github.com/brittonk","followers_url":"https://api.github.com/users/brittonk/followers","following_url":"https://api.github.com/users/brittonk/following{/other_user}","gists_url":"https://api.github.com/users/brittonk/gists{/gist_id}","starred_url":"https://api.github.com/users/brittonk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brittonk/subscriptions","organizations_url":"https://api.github.com/users/brittonk/orgs","repos_url":"https://api.github.com/users/brittonk/repos","events_url":"https://api.github.com/users/brittonk/events{/privacy}","received_events_url":"https://api.github.com/users/brittonk/received_events","type":"User","site_admin":false},"created_at":"2018-02-13T02:31:33Z","updated_at":"2018-02-13T02:31:33Z","author_association":"NONE","body":"Nevermind, I've wasted your time <3 \r\n\r\nI had a typo in the php. It works beautifully. Thanks for an amazing script."}}
{"actor":{"display_login":"brittonk"}}