{"action":"created","issue":{"url":"https://api.github.com/repos/melix/deck2pdf/issues/26","labels_url":"https://api.github.com/repos/melix/deck2pdf/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/melix/deck2pdf/issues/26/comments","events_url":"https://api.github.com/repos/melix/deck2pdf/issues/26/events","html_url":"https://github.com/melix/deck2pdf/issues/26","id":96249609,"number":26,"title":"Delegate writing of slide to a dedicated object","user":{"login":"mojavelinux","id":79351,"avatar_url":"https://avatars.githubusercontent.com/u/79351?v=3","gravatar_id":"","url":"https://api.github.com/users/mojavelinux","html_url":"https://github.com/mojavelinux","followers_url":"https://api.github.com/users/mojavelinux/followers","following_url":"https://api.github.com/users/mojavelinux/following{/other_user}","gists_url":"https://api.github.com/users/mojavelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/mojavelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojavelinux/subscriptions","organizations_url":"https://api.github.com/users/mojavelinux/orgs","repos_url":"https://api.github.com/users/mojavelinux/repos","events_url":"https://api.github.com/users/mojavelinux/events{/privacy}","received_events_url":"https://api.github.com/users/mojavelinux/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-21T07:32:13Z","updated_at":"2015-07-21T08:47:05Z","closed_at":"2015-07-21T08:47:05Z","body":"To make the code in Browser less cluttered and more organized, the writing of a slide should be delegated to a dedicated object. The object (of proposed type `SlideWriter`) should be created from a factory (or proposed type `SlideWriterFactory`) in the Browser#doExport method. That object should then receive each slide image object as the slide deck is advanced in the PauseTransition#setOnFinished handler.\r\n\r\nWe can probably get some milage out of using an abstract base class for the two image writers (png and jpg)."},"comment":{"url":"https://api.github.com/repos/melix/deck2pdf/issues/comments/123217597","html_url":"https://github.com/melix/deck2pdf/issues/26#issuecomment-123217597","issue_url":"https://api.github.com/repos/melix/deck2pdf/issues/26","id":123217597,"user":{"login":"melix","id":316357,"avatar_url":"https://avatars.githubusercontent.com/u/316357?v=3","gravatar_id":"","url":"https://api.github.com/users/melix","html_url":"https://github.com/melix","followers_url":"https://api.github.com/users/melix/followers","following_url":"https://api.github.com/users/melix/following{/other_user}","gists_url":"https://api.github.com/users/melix/gists{/gist_id}","starred_url":"https://api.github.com/users/melix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melix/subscriptions","organizations_url":"https://api.github.com/users/melix/orgs","repos_url":"https://api.github.com/users/melix/repos","events_url":"https://api.github.com/users/melix/events{/privacy}","received_events_url":"https://api.github.com/users/melix/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T08:47:05Z","updated_at":"2015-07-21T08:47:05Z","body":"Fixed through 33e71b7a7aec4eb0a4e4629f882d5e38d880cb9f"}}