Jump to content

Crash when resizing 32K -> 64K


Recommended Posts

I was trying to do a NN resize on a 32k image to 64k and it didn't like it. The image should have used ~9GB of memory and I had about 30GB free. I think its a max size limitation on the resize operation? It looks like it should handle sizes up to 2^30 but is failing.

Callstack below.


 

Application version: paint.net 4.2.12

System.AggregateException: One or more errors occurred. ---> PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at PaintDotNet.Threading.Work.ParallelForEach1[T](WaitType waitType, IEnumerable`1 workItems, Action`1 workItemAction, WorkItemQueuePriority priority, Action`1 workItemFinishedCallback) in D:\src\pdn\src\Core\Threading\Work.cs:line 157
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_1.<OnPerformAction>b__1(Task task) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 258
---> (Inner Exception #0) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #1) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #2) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #3) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #4) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #5) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #6) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #7) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #8) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #9) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #10) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #11) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #12) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #13) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #14) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #15) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #16) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #17) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #18) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #19) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #20) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #21) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #22) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #23) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #24) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #25) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #26) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #27) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #28) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #29) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #30) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #31) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #32) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #33) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #34) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #35) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #36) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #37) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #38) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #39) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #40) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #41) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #42) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #43) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #44) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #45) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #46) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #47) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #48) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #49) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #50) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #51) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #52) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #53) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #54) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #55) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #56) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #57) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #58) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #59) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #60) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #61) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #62) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #63) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #64) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #65) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #66) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #67) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #68) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #69) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #70) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #71) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #72) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #73) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #74) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #75) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #76) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #77) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #78) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #79) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #80) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #81) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #82) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #83) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #84) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #85) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #86) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #87) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #88) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #89) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #90) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #91) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #92) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #93) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #94) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #95) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #96) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #97) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #98) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #99) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #100) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #101) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #102) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #103) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #104) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #105) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #106) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #107) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #108) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #109) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #110) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #111) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #112) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #113) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #114) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #115) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #116) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #117) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #118) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #119) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #120) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #121) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #122) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #123) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #124) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #125) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #126) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #127) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #128) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #129) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #130) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #131) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #132) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #133) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #134) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #135) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #136) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #137) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #138) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #139) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #140) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #141) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #142) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #143) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #144) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #145) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #146) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #147) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #148) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #149) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #150) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #151) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #152) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #153) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #154) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #155) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #156) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #157) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #158) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #159) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #160) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #161) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #162) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #163) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #164) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #165) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #166) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #167) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #168) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #169) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #170) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #171) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #172) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #173) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #174) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #175) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #176) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #177) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #178) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #179) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #180) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #181) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #182) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #183) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #184) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #185) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #186) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #187) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #188) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #189) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #190) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #191) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #192) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #193) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #194) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #195) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #196) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #197) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #198) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #199) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #200) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #201) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #202) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #203) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #204) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #205) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #206) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #207) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #208) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #209) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #210) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #211) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #212) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #213) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #214) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #215) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #216) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #217) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #218) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #219) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #220) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #221) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #222) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #223) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #224) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #225) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #226) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #227) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #228) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #229) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #230) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #231) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #232) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #233) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #234) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #235) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #236) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #237) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #238) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #239) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #240) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #241) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #242) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #243) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #244) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #245) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #246) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #247) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #248) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #249) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #250) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #251) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #252) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #253) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #254) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #255) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #256) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #257) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #258) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #259) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #260) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #261) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #262) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #263) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #264) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #265) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #266) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #267) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #268) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #269) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #270) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #271) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #272) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #273) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #274) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #275) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #276) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #277) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #278) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #279) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #280) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #281) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #282) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #283) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #284) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #285) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #286) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #287) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #288) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #289) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #290) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #291) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #292) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #293) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #294) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #295) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #296) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #297) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #298) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #299) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #300) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #301) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #302) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #303) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #304) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #305) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #306) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #307) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #308) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #309) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #310) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #311) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

---> (Inner Exception #312) PaintDotNet.Threading.WorkItemException: An exception went unhandled while executing a work item ---> System.ArgumentOutOfRangeException: must be in the range [1, 2^30]
Parameter name: x = -32767
   at PaintDotNet.Int32Util.ThrowForLog2RoundUp(Int32 x) in D:\src\pdn\src\Base\Int32Util.cs:line 166
   at PaintDotNet.Rendering.RecyclingSurfaceAllocator`1.Allocate(Int32 width, Int32 height, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\RecyclingSurfaceAllocator`1.cs:line 285
   at PaintDotNet.Rendering.SurfaceAllocatorExtensions.Allocate[TPixel](ISurfaceAllocator`1 surfaceAllocator, SizeInt32 size, AllocationOptions options) in D:\src\pdn\src\Core\Rendering\SurfaceAllocatorExtensions.cs:line 18
   at PaintDotNet.Rendering.ResizeNearestNeighborRendererBgra.OnRender(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\ResizeNearestNeighborRendererBgra.cs:line 38
   at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, Point2Int32 renderOffset) in D:\src\pdn\src\Core\Rendering\RendererBgraBase.cs:line 86
   at PaintDotNet.Actions.ResizeAction.<>c__DisplayClass5_3.<OnPerformAction>b__4(RectInt32 renderRect) in D:\src\pdn\src\PaintDotNet\Actions\ResizeAction.cs:line 272
   at PaintDotNet.Threading.CountdownDataWorkItemQueue`1.OnTryExecuteNextWorkItem() in D:\src\pdn\src\Core\Threading\CountdownDataWorkItemQueue`1.cs:line 67
   --- End of inner exception stack trace ---<---

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...