{"action":"opened","issue":{"url":"https://api.github.com/repos/Zulko/moviepy/issues/216","labels_url":"https://api.github.com/repos/Zulko/moviepy/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/Zulko/moviepy/issues/216/comments","events_url":"https://api.github.com/repos/Zulko/moviepy/issues/216/events","html_url":"https://github.com/Zulko/moviepy/issues/216","id":110317900,"number":216,"title":"White artifacts around the image when rotating an ImageClip with a mask in angles that are not 0, 90, 180, 270","user":{"login":"hgonzalezsgn","id":3134638,"avatar_url":"https://avatars.githubusercontent.com/u/3134638?v=3","gravatar_id":"","url":"https://api.github.com/users/hgonzalezsgn","html_url":"https://github.com/hgonzalezsgn","followers_url":"https://api.github.com/users/hgonzalezsgn/followers","following_url":"https://api.github.com/users/hgonzalezsgn/following{/other_user}","gists_url":"https://api.github.com/users/hgonzalezsgn/gists{/gist_id}","starred_url":"https://api.github.com/users/hgonzalezsgn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hgonzalezsgn/subscriptions","organizations_url":"https://api.github.com/users/hgonzalezsgn/orgs","repos_url":"https://api.github.com/users/hgonzalezsgn/repos","events_url":"https://api.github.com/users/hgonzalezsgn/events{/privacy}","received_events_url":"https://api.github.com/users/hgonzalezsgn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-07T21:13:26Z","updated_at":"2015-10-07T21:13:26Z","closed_at":null,"body":"Hi Zulko,\r\n\r\nI just download the master and I have white artifacts around the image when rotating an ImageClip with a mask in angles that are not  0, 90, 180, 270  for example I used 60 and have the issue\r\n\r\nThe following is the code:\r\n\r\nfrom moviepy.editor import *\r\nmask = ImageClip(\"mask.png\", ismask=True)\r\nimage = ImageClip(\"imageToTest.png\", False)\r\nimageWithRotation = image.set_mask(mask)\r\nimageWithRotationAndMask = imageWithRotation.rotate(60)\r\nimageWithRotationAndMask.save_frame(\"result.png\")\r\n\r\nThis are the images used in the script and the result:\r\n\r\n![imagetotest](https://cloud.githubusercontent.com/assets/3134638/10351151/5aaad1f2-6d1e-11e5-8b2e-0e30f2574f85.png)\r\n![mask](https://cloud.githubusercontent.com/assets/3134638/10351150/5aa8c222-6d1e-11e5-9c72-c55eb3bf12d5.png)\r\n![result](https://cloud.githubusercontent.com/assets/3134638/10351152/5aac54e6-6d1e-11e5-823a-f50b7cdcb5de.png)\r\n\r\nThanks!\r\nHernan"}}