{"action":"created","issue":{"url":"https://api.github.com/repos/Kagamia/WzComparerR2/issues/78","repository_url":"https://api.github.com/repos/Kagamia/WzComparerR2","labels_url":"https://api.github.com/repos/Kagamia/WzComparerR2/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/Kagamia/WzComparerR2/issues/78/comments","events_url":"https://api.github.com/repos/Kagamia/WzComparerR2/issues/78/events","html_url":"https://github.com/Kagamia/WzComparerR2/issues/78","id":332982455,"node_id":"MDU6SXNzdWUzMzI5ODI0NTU=","number":78,"title":"KMST v1069 gif输出异常","user":{"login":"KKMAA","id":30652925,"node_id":"MDQ6VXNlcjMwNjUyOTI1","avatar_url":"https://avatars1.githubusercontent.com/u/30652925?v=4","gravatar_id":"","url":"https://api.github.com/users/KKMAA","html_url":"https://github.com/KKMAA","followers_url":"https://api.github.com/users/KKMAA/followers","following_url":"https://api.github.com/users/KKMAA/following{/other_user}","gists_url":"https://api.github.com/users/KKMAA/gists{/gist_id}","starred_url":"https://api.github.com/users/KKMAA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KKMAA/subscriptions","organizations_url":"https://api.github.com/users/KKMAA/orgs","repos_url":"https://api.github.com/users/KKMAA/repos","events_url":"https://api.github.com/users/KKMAA/events{/privacy}","received_events_url":"https://api.github.com/users/KKMAA/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-16T11:58:27Z","updated_at":"2018-06-16T11:59:38Z","closed_at":null,"author_association":"NONE","body":"输出以下技能的gif档都会出现错误\r\n400031024 이르칼라의 숨결 的keydown\r\n400051040 노틸러스 어썰트 的effect0\r\n\r\n错误图\r\nhttps://imgur.com/sH1WObX\r\n\r\n错误说明\r\nSystem.AggregateException: 發生一或多項錯誤。 ---> System.ArgumentException: '-249' 不是 'red' 的有效值。'red' 必須大於或等於 0，並且小於或等於 255。\r\n   於 System.Drawing.Color.CheckByte(Int32 value, String name)\r\n   於 System.Drawing.Color.FromArgb(Int32 alpha, Int32 red, Int32 green, Int32 blue)\r\n   於 System.Drawing.Color.FromArgb(Int32 red, Int32 green, Int32 blue)\r\n   於 ImageManipulation.OctreeQuantizer.Octree.OctreeNode.ConstructPalette(ArrayList palette, Int32& paletteIndex)\r\n   於 ImageManipulation.OctreeQuantizer.Octree.OctreeNode.ConstructPalette(ArrayList palette, Int32& paletteIndex)\r\n   於 ImageManipulation.OctreeQuantizer.Octree.OctreeNode.ConstructPalette(ArrayList palette, Int32& paletteIndex)\r\n   於 ImageManipulation.OctreeQuantizer.Octree.OctreeNode.ConstructPalette(ArrayList palette, Int32& paletteIndex)\r\n   於 ImageManipulation.OctreeQuantizer.Octree.OctreeNode.ConstructPalette(ArrayList palette, Int32& paletteIndex)\r\n   於 ImageManipulation.OctreeQuantizer.Octree.Palletize(Int32 colorCount)\r\n   於 ImageManipulation.OctreeQuantizer.GetPalette(ColorPalette original)\r\n   於 ImageManipulation.Quantizer.Quantize(Image source)\r\n   於 WzComparerR2.Common.BuildInGifEncoder.AppendFrame(Bitmap image, Int32 delay)\r\n   於 WzComparerR2.Common.BuildInGifEncoder.AppendFrame(IntPtr pBuffer, Int32 delay)\r\n   於 WzComparerR2.PictureBoxEx.<>c__DisplayClass28_4.<SaveAsGif>b__2()\r\n   於 System.Threading.Tasks.Task.InnerInvoke()\r\n   於 System.Threading.Tasks.Task.Execute()\r\n   --- 內部例外狀況堆疊追蹤的結尾 ---\r\n   於 System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)\r\n   於 WzComparerR2.PictureBoxEx.<>c__DisplayClass28_0.<SaveAsGif>b__0(Int32 curTime)\r\n   於 WzComparerR2.PictureBoxEx.SaveAsGif(AnimationItem aniItem, String fileName, ImageHandlerConfig config)\r\n   於 WzComparerR2.MainForm.buttonItemSaveImage_Click(Object sender, EventArgs e)\r\n   於 DevComponents.DotNetBar.BaseItem.RaiseClick(eEventSource source)\r\n   於 DevComponents.DotNetBar.BaseItem.InternalMouseUp(MouseEventArgs objArg)\r\n   於 DevComponents.DotNetBar.PopupItem.InternalMouseUp(MouseEventArgs objArg)\r\n   於 DevComponents.DotNetBar.ButtonItem.InternalMouseUp(MouseEventArgs objArg)\r\n   於 DevComponents.DotNetBar.BaseItem.InternalMouseUp(MouseEventArgs objArg)\r\n   於 DevComponents.DotNetBar.ItemContainer.InternalMouseUp(MouseEventArgs objArg)\r\n   於 DevComponents.DotNetBar.ItemControl.OnMouseUp(MouseEventArgs e)\r\n   於 DevComponents.DotNetBar.RibbonBar.OnMouseUp(MouseEventArgs e)\r\n   於 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)\r\n   於 System.Windows.Forms.Control.WndProc(Message& m)\r\n   於 System.Windows.Forms.ScrollableControl.WndProc(Message& m)\r\n   於 System.Windows.Forms.ContainerControl.WndProc(Message& m)\r\n   於 DevComponents.DotNetBar.ItemControl.WndProc(Message& m)\r\n   於 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)\r\n   於 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)\r\n   於 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)\r\n---> (內部例外狀況 #0) System.ArgumentException: '-249' 不是 'red' 的有效值。'red' 必須大於或等於 0，並且小於或等於 255。\r\n   於 System.Drawing.Color.CheckByte(Int32 value, String name)\r\n   於 System.Drawing.Color.FromArgb(Int32 alpha, Int32 red, Int32 green, Int32 blue)\r\n   於 System.Drawing.Color.FromArgb(Int32 red, Int32 green, Int32 blue)\r\n   於 ImageManipulation.OctreeQuantizer.Octree.OctreeNode.ConstructPalette(ArrayList palette, Int32& paletteIndex)\r\n   於 ImageManipulation.OctreeQuantizer.Octree.OctreeNode.ConstructPalette(ArrayList palette, Int32& paletteIndex)\r\n   於 ImageManipulation.OctreeQuantizer.Octree.OctreeNode.ConstructPalette(ArrayList palette, Int32& paletteIndex)\r\n   於 ImageManipulation.OctreeQuantizer.Octree.OctreeNode.ConstructPalette(ArrayList palette, Int32& paletteIndex)\r\n   於 ImageManipulation.OctreeQuantizer.Octree.OctreeNode.ConstructPalette(ArrayList palette, Int32& paletteIndex)\r\n   於 ImageManipulation.OctreeQuantizer.Octree.Palletize(Int32 colorCount)\r\n   於 ImageManipulation.OctreeQuantizer.GetPalette(ColorPalette original)\r\n   於 ImageManipulation.Quantizer.Quantize(Image source)\r\n   於 WzComparerR2.Common.BuildInGifEncoder.AppendFrame(Bitmap image, Int32 delay)\r\n   於 WzComparerR2.Common.BuildInGifEncoder.AppendFrame(IntPtr pBuffer, Int32 delay)\r\n   於 WzComparerR2.PictureBoxEx.<>c__DisplayClass28_4.<SaveAsGif>b__2()\r\n   於 System.Threading.Tasks.Task.InnerInvoke()\r\n   於 System.Threading.Tasks.Task.Execute()<---"},"comment":{"url":"https://api.github.com/repos/Kagamia/WzComparerR2/issues/comments/397807597","html_url":"https://github.com/Kagamia/WzComparerR2/issues/78#issuecomment-397807597","issue_url":"https://api.github.com/repos/Kagamia/WzComparerR2/issues/78","id":397807597,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzgwNzU5Nw==","user":{"login":"Kagamia","id":10445904,"node_id":"MDQ6VXNlcjEwNDQ1OTA0","avatar_url":"https://avatars2.githubusercontent.com/u/10445904?v=4","gravatar_id":"","url":"https://api.github.com/users/Kagamia","html_url":"https://github.com/Kagamia","followers_url":"https://api.github.com/users/Kagamia/followers","following_url":"https://api.github.com/users/Kagamia/following{/other_user}","gists_url":"https://api.github.com/users/Kagamia/gists{/gist_id}","starred_url":"https://api.github.com/users/Kagamia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kagamia/subscriptions","organizations_url":"https://api.github.com/users/Kagamia/orgs","repos_url":"https://api.github.com/users/Kagamia/repos","events_url":"https://api.github.com/users/Kagamia/events{/privacy}","received_events_url":"https://api.github.com/users/Kagamia/received_events","type":"User","site_admin":false},"created_at":"2018-06-16T11:59:38Z","updated_at":"2018-06-16T11:59:38Z","author_association":"OWNER","body":"切换成IndexGifEncoder。"}}
{"actor":{"display_login":"Kagamia"}}