{"action":"closed","issue":{"url":"https://api.github.com/repos/SixLabors/ImageSharp/issues/465","repository_url":"https://api.github.com/repos/SixLabors/ImageSharp","labels_url":"https://api.github.com/repos/SixLabors/ImageSharp/issues/465/labels{/name}","comments_url":"https://api.github.com/repos/SixLabors/ImageSharp/issues/465/comments","events_url":"https://api.github.com/repos/SixLabors/ImageSharp/issues/465/events","html_url":"https://github.com/SixLabors/ImageSharp/issues/465","id":297006191,"number":465,"title":"Create image strip","user":{"login":"valse","id":1492995,"avatar_url":"https://avatars0.githubusercontent.com/u/1492995?v=4","gravatar_id":"","url":"https://api.github.com/users/valse","html_url":"https://github.com/valse","followers_url":"https://api.github.com/users/valse/followers","following_url":"https://api.github.com/users/valse/following{/other_user}","gists_url":"https://api.github.com/users/valse/gists{/gist_id}","starred_url":"https://api.github.com/users/valse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valse/subscriptions","organizations_url":"https://api.github.com/users/valse/orgs","repos_url":"https://api.github.com/users/valse/repos","events_url":"https://api.github.com/users/valse/events{/privacy}","received_events_url":"https://api.github.com/users/valse/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-14T08:04:03Z","updated_at":"2018-02-20T13:47:25Z","closed_at":"2018-02-20T13:47:25Z","author_association":"NONE","body":"Hi,\r\n  I'd like to merge some images (same size side by side) and I tried the DrawImage method:\r\n\r\n```c#\r\nimage1.Mutate(x => x\r\n   .DrawImage(\r\n      image2,\r\n      1,\r\n      new Size(image1.Width * 2, image1.Height),\r\n      new Point(image1.Width, 0)\r\n   )\r\n);\r\n```\r\n\r\nbut the output image width is not like expected (image1.Width * 2) but it keeps the image1 width.\r\n\r\nTo solve this I make first a Resize of first image adding padding on the right side:\r\n\r\n```c#\r\n.Resize(new ResizeOptions\r\n   {\r\n      Mode = ResizeMode.Pad,\r\n      Position = AnchorPosition.TopLeft,\r\n      Size = new Size(image1.Width * 2, image1.Height)\r\n   }\r\n)\r\n```\r\n\r\nIs it the right solution or the DrawImage must work resizing the final output too?\r\n\r\nThanks\r\nMarco"}}
{"actor":{"display_login":"valse"}}