I get this error every time I render animation to gif. Is this possible to fix?
Out of memory.
at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height)
at System.Drawing.Bitmap..ctor(Image original, Int32 width, Int32 height)
at System.Drawing.Bitmap..ctor(Image original)
at BrawlLib.Imaging.GIF.AnimatedGifEncoder.GetImagePixels()
at BrawlLib.Imaging.GIF.AnimatedGifEncoder.AddFrame(Image im)
at BrawlLib.Internal.Windows.Controls.ModelViewer.MainWindowBase.ModelEditorBase.RenderToGIF(List`1 images, String path)
at BrawlLib.Internal.Windows.Controls.ModelViewer.MainWindowBase.ModelEditorBase.StopAnim()
at BrawlLib.Internal.Windows.Controls.ModelViewer.MainWindowBase.ModelEditorBase._timer_RenderFrame(Object sender, FrameEventArgs e)
at BrawlLib.Internal.CoolTimer.OnRenderFrame(FrameEventArgs e)
at BrawlLib.Internal.CoolTimer.RaiseRenderFrame()
at BrawlLib.Internal.CoolTimer.Run(Double updatesPerSec, Double framesPerSec)
at BrawlLib.Internal.Windows.Controls.ModelViewer.MainWindowBase.ModelEditorBase.PlayAnim()
at BrawlLib.Internal.Windows.Controls.ModelViewer.MainWindowBase.ModelEditorBase.TogglePlay()
at BrawlCrate.UI.Model_Previewer.ModelEditControl.ModelEditControl.btnExportToAnimatedGIF_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
I get this error every time I render animation to gif. Is this possible to fix?
Out of memory. at System.Drawing.Graphics.CheckErrorStatus(Int32 status) at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height) at System.Drawing.Bitmap..ctor(Image original, Int32 width, Int32 height) at System.Drawing.Bitmap..ctor(Image original) at BrawlLib.Imaging.GIF.AnimatedGifEncoder.GetImagePixels() at BrawlLib.Imaging.GIF.AnimatedGifEncoder.AddFrame(Image im) at BrawlLib.Internal.Windows.Controls.ModelViewer.MainWindowBase.ModelEditorBase.RenderToGIF(List`1 images, String path) at BrawlLib.Internal.Windows.Controls.ModelViewer.MainWindowBase.ModelEditorBase.StopAnim() at BrawlLib.Internal.Windows.Controls.ModelViewer.MainWindowBase.ModelEditorBase._timer_RenderFrame(Object sender, FrameEventArgs e) at BrawlLib.Internal.CoolTimer.OnRenderFrame(FrameEventArgs e) at BrawlLib.Internal.CoolTimer.RaiseRenderFrame() at BrawlLib.Internal.CoolTimer.Run(Double updatesPerSec, Double framesPerSec) at BrawlLib.Internal.Windows.Controls.ModelViewer.MainWindowBase.ModelEditorBase.PlayAnim() at BrawlLib.Internal.Windows.Controls.ModelViewer.MainWindowBase.ModelEditorBase.TogglePlay() at BrawlCrate.UI.Model_Previewer.ModelEditControl.ModelEditControl.btnExportToAnimatedGIF_Click(Object sender, EventArgs e) at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)