{"action":"opened","issue":{"url":"https://api.github.com/repos/SebastianNette/PIXI.NinePatch/issues/2","labels_url":"https://api.github.com/repos/SebastianNette/PIXI.NinePatch/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/SebastianNette/PIXI.NinePatch/issues/2/comments","events_url":"https://api.github.com/repos/SebastianNette/PIXI.NinePatch/issues/2/events","html_url":"https://github.com/SebastianNette/PIXI.NinePatch/issues/2","id":72867034,"number":2,"title":"A way to only require supplying one image.","user":{"login":"jordwalke","id":977348,"avatar_url":"https://avatars.githubusercontent.com/u/977348?v=3","gravatar_id":"","url":"https://api.github.com/users/jordwalke","html_url":"https://github.com/jordwalke","followers_url":"https://api.github.com/users/jordwalke/followers","following_url":"https://api.github.com/users/jordwalke/following{/other_user}","gists_url":"https://api.github.com/users/jordwalke/gists{/gist_id}","starred_url":"https://api.github.com/users/jordwalke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordwalke/subscriptions","organizations_url":"https://api.github.com/users/jordwalke/orgs","repos_url":"https://api.github.com/users/jordwalke/repos","events_url":"https://api.github.com/users/jordwalke/events{/privacy}","received_events_url":"https://api.github.com/users/jordwalke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-03T21:18:30Z","updated_at":"2015-05-03T21:18:30Z","closed_at":null,"body":"It would be great if only one image were needed to be supplied. If so, then obviously you would have to also supply points on the image to perform the slicing automatically.\r\nI'm also curious if there's a way to make nine patches much more efficient by not having to create several sprites (or does sprite batching take care of it already?) Either way, when loading images in the browser, I found that there is a fixed cost overhead of decoding a single image, so grouping commonly used-together sprites into one image may have other benefits."}}