Jump to content

DpaKc

Newbies
  • Posts

    1
  • Joined

  • Last visited

Posts posted by DpaKc

  1. I had a problem when saving the image [Here a mistake]

    System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

    at PaintDotNet.SystemLayer.Native.x64.Imaging.WICBitmapSource.CopyPixels(Nullable`1 srcRect, Int32 stride, Int32 bufferSize, IntPtr buffer)

    at PaintDotNet.Imaging.Proxies.BitmapSourceProxy.CopyPixels(Nullable`1 srcRect, Int32 bufferStride, Int32 bufferSize, IntPtr buffer) in D:\src\pdn\paintdotnet\src\Base\Imaging\Proxies\BitmapSourceProxy.cs:line 74

    at PaintDotNet.Rendering.ResizeWicRendererBgra.OnRender(ISurface`1 dstCropped, PointInt32 renderOffset) in D:\src\pdn\paintdotnet\src\Core\Rendering\ResizeWicRendererBgra.cs:line 51

    at PaintDotNet.Rendering.RendererBgraBase.Render(ISurface`1 dst, PointInt32 renderOffset) in D:\src\pdn\paintdotnet\src\Core\Rendering\RendererBgraBase.cs:line 86

    at PaintDotNet.Rendering.RendererExtensions.Render[TPixel](IRenderer`1 renderer, ISurface`1 dst) in D:\src\pdn\paintdotnet\src\Core\Rendering\RendererExtensions.cs:line 30

    at PaintDotNet.Data.Dds.DdsFile.Save(Stream output, Surface surface, DdsFileFormat fileFormat, DdsCompressorType compressorType, DdsErrorMetric errorMetric, Boolean generateMipMaps, ResamplingAlgorithm mipMapResamplingAlgorithm, Boolean weightColorByAlpha, ProgressEventHandler progressCallback) in D:\src\pdn\paintdotnet\src\PaintDotNet\Data\Dds\DdsFile.cs:line 340

    at PaintDotNet.Data.Dds.DdsFileType.OnSaveT(Document input, Stream output, PropertyBasedSaveConfigToken token, Surface scratchSurface, ProgressEventHandler callback) in D:\src\pdn\paintdotnet\src\PaintDotNet\Data\Dds\DdsFileType.cs:line 219

    at PaintDotNet.FileType.Save(Document input, Stream output, SaveConfigToken token, Surface scratchSurface, ProgressEventHandler callback, Boolean rememberToken) in D:\src\pdn\paintdotnet\src\Data\FileType.cs:line 266

    at PaintDotNet.Controls.DocumentWorkspace.<>c__DisplayClass30.b__28() in D:\src\pdn\paintdotnet\src\PaintDotNet\Controls\DocumentWorkspace.cs:line 2939

    at PaintDotNet.Functional.Func.Try(Action f) in D:\src\pdn\paintdotnet\src\Base\Functional\Func.cs:line 171

     

    Image of the DDS format and 4096x4096 in size

×
×
  • Create New...