{"action":"created","issue":{"url":"https://api.github.com/repos/SimpleSoftwareIO/simple-qrcode/issues/20","labels_url":"https://api.github.com/repos/SimpleSoftwareIO/simple-qrcode/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/SimpleSoftwareIO/simple-qrcode/issues/20/comments","events_url":"https://api.github.com/repos/SimpleSoftwareIO/simple-qrcode/issues/20/events","html_url":"https://github.com/SimpleSoftwareIO/simple-qrcode/issues/20","id":106609155,"number":20,"title":"->size() breaks merge()","user":{"login":"branall1","id":3066075,"avatar_url":"https://avatars.githubusercontent.com/u/3066075?v=3","gravatar_id":"","url":"https://api.github.com/users/branall1","html_url":"https://github.com/branall1","followers_url":"https://api.github.com/users/branall1/followers","following_url":"https://api.github.com/users/branall1/following{/other_user}","gists_url":"https://api.github.com/users/branall1/gists{/gist_id}","starred_url":"https://api.github.com/users/branall1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/branall1/subscriptions","organizations_url":"https://api.github.com/users/branall1/orgs","repos_url":"https://api.github.com/users/branall1/repos","events_url":"https://api.github.com/users/branall1/events{/privacy}","received_events_url":"https://api.github.com/users/branall1/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SimpleSoftwareIO/simple-qrcode/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"SimplyCorey","id":624784,"avatar_url":"https://avatars.githubusercontent.com/u/624784?v=3","gravatar_id":"","url":"https://api.github.com/users/SimplyCorey","html_url":"https://github.com/SimplyCorey","followers_url":"https://api.github.com/users/SimplyCorey/followers","following_url":"https://api.github.com/users/SimplyCorey/following{/other_user}","gists_url":"https://api.github.com/users/SimplyCorey/gists{/gist_id}","starred_url":"https://api.github.com/users/SimplyCorey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimplyCorey/subscriptions","organizations_url":"https://api.github.com/users/SimplyCorey/orgs","repos_url":"https://api.github.com/users/SimplyCorey/repos","events_url":"https://api.github.com/users/SimplyCorey/events{/privacy}","received_events_url":"https://api.github.com/users/SimplyCorey/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/SimpleSoftwareIO/simple-qrcode/milestones/4","html_url":"https://github.com/SimpleSoftwareIO/simple-qrcode/milestones/1.3.1","labels_url":"https://api.github.com/repos/SimpleSoftwareIO/simple-qrcode/milestones/4/labels","id":1311128,"number":4,"title":"1.3.1","description":null,"creator":{"login":"SimplyCorey","id":624784,"avatar_url":"https://avatars.githubusercontent.com/u/624784?v=3","gravatar_id":"","url":"https://api.github.com/users/SimplyCorey","html_url":"https://github.com/SimplyCorey","followers_url":"https://api.github.com/users/SimplyCorey/followers","following_url":"https://api.github.com/users/SimplyCorey/following{/other_user}","gists_url":"https://api.github.com/users/SimplyCorey/gists{/gist_id}","starred_url":"https://api.github.com/users/SimplyCorey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimplyCorey/subscriptions","organizations_url":"https://api.github.com/users/SimplyCorey/orgs","repos_url":"https://api.github.com/users/SimplyCorey/repos","events_url":"https://api.github.com/users/SimplyCorey/events{/privacy}","received_events_url":"https://api.github.com/users/SimplyCorey/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2015-09-17T17:45:43Z","updated_at":"2015-09-17T19:22:19Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-09-15T17:49:25Z","updated_at":"2015-09-17T21:47:57Z","closed_at":null,"body":"It appears if I attempt to use size() either before or after the merge method in a chain - the image is not merged.\r\n\r\nExample:\r\n`<img src=\"data:image/png;base64, {!! base64_encode(QrCode::format('png')->merge('/public/tiny-green.png',.3)->size(190)->generate($url)) !!}\">`\r\n\r\nQR code generates properly - but without the merged image. (http://goo.gl/ImyLlm)\r\n\r\nIf you remove size - it generates the code like a boss, complete with merged image (http://goo.gl/dlZGgi)"},"comment":{"url":"https://api.github.com/repos/SimpleSoftwareIO/simple-qrcode/issues/comments/141237873","html_url":"https://github.com/SimpleSoftwareIO/simple-qrcode/issues/20#issuecomment-141237873","issue_url":"https://api.github.com/repos/SimpleSoftwareIO/simple-qrcode/issues/20","id":141237873,"user":{"login":"branall1","id":3066075,"avatar_url":"https://avatars.githubusercontent.com/u/3066075?v=3","gravatar_id":"","url":"https://api.github.com/users/branall1","html_url":"https://github.com/branall1","followers_url":"https://api.github.com/users/branall1/followers","following_url":"https://api.github.com/users/branall1/following{/other_user}","gists_url":"https://api.github.com/users/branall1/gists{/gist_id}","starred_url":"https://api.github.com/users/branall1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/branall1/subscriptions","organizations_url":"https://api.github.com/users/branall1/orgs","repos_url":"https://api.github.com/users/branall1/repos","events_url":"https://api.github.com/users/branall1/events{/privacy}","received_events_url":"https://api.github.com/users/branall1/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T21:47:57Z","updated_at":"2015-09-17T21:47:57Z","body":"That was pretty much the first thing I tried. I didn't want to bother anyone with a bug report without attempting to resolve it on my own. I tried size() at the beginning, right before merge, right after, etc. The only way merge would work was without size.\r\n\r\nI was wanting to take a look and see if I can squash this one on my own and send you guys a pull - but time has not been on my side. I doubt we will ultimately use merge for this project - I was just playing around with it when I ran into the issue with size().\r\n\r\nThank you very much for the follow up - if you need anything else from me please let me know."}}