Jump to content

Can't save images now out of nowhere.

Recommended Posts

I get this error now when trying to save images, I have been using paint.net for years & never have once had this issue, now its happening constantly. 


Application version: paint.net 4.2.7

PaintDotNet.Imaging.StreamWriteException (0x88982F71): D:\src\pdn\src\SystemLayer.Native\Imaging\WICBitmapEncoder.cpp (237) : hr = m_pBitmapEncoder->Commit();
   at PaintDotNet.Interop.InteropErrorInfo.ThrowIfError() in D:\src\pdn\src\Base\Interop\InteropErrorInfo.cs:line 98
   at PaintDotNet.SystemLayer.Native.x64.NativeUtilities.ThrowOnErrorImpl(Int32 hr, SByte* szHr, IUnknown* pFxErrorInfo)
   at PaintDotNet.SystemLayer.Native.x64.Imaging.WICBitmapEncoder.Commit()
   at PaintDotNet.Data.WicFileTypeHelpers.Encode(IBitmapSource source, Metadata metadata, Vector2Double dpi, Stream output, ContainerFormat containerFormat, Nullable`1 requiredVendor, IEnumerable`1 encoderOptions, MetadataTranscoder metadataTranscoder, ProgressEventHandler progressCallback, Object progressCallbackSender, Double progressPercentStart) in D:\src\pdn\src\PaintDotNet\Data\WicFileTypeHelpers.cs:line 504
   at PaintDotNet.Data.WicFileTypeHelpers.Save(Document document, Surface flattenedSurface, Stream output, ContainerFormat containerFormat, Nullable`1 requiredVendor, MetadataTranscoder metadataTranscoder, IEnumerable`1 encoderOptions, SavableBitDepths bitDepth, Int32 ditherLevelForIndexed, ProgressEventHandler progressCallback, Object progressCallbackSender) in D:\src\pdn\src\PaintDotNet\Data\WicFileTypeHelpers.cs:line 357
   at PaintDotNet.Data.PngFileType.OnFinalSave(Document input, Stream output, Surface flattenedImage, SavableBitDepths bitDepth, Int32 ditherLevel, PropertyBasedSaveConfigToken token, ProgressEventHandler progressCallback) in D:\src\pdn\src\PaintDotNet\Data\PngFileType.cs:line 227
   at PaintDotNet.Data.InternalFileType.OnSaveT(Document input, Stream output, PropertyBasedSaveConfigToken token, Surface scratchSurface, ProgressEventHandler progressCallback) in D:\src\pdn\src\PaintDotNet\Data\InternalFileType.cs:line 467
   at PaintDotNet.FileType.Save(Document input, Stream output, SaveConfigToken token, Surface scratchSurface, ProgressEventHandler callback, Boolean rememberToken) in D:\src\pdn\src\Data\FileType.cs:line 282
   at PaintDotNet.Controls.DocumentWorkspace.<>c__DisplayClass248_0.<DoSave>b__5() in D:\src\pdn\src\PaintDotNet\Controls\DocumentWorkspace.cs:line 2852
   at PaintDotNet.Functional.Func.Try(Action f) in D:\src\pdn\src\Base\Functional\Func.cs:line 174

Link to comment
Share on other sites

32 minutes ago, justice5150 said:

I get this error now when trying to save images, I have been using paint.net for years & never have once had this issue, now its happening constantly. 


That may be a sign that you have a hard disk that is failing, try running chkdsk.

Also, your Paint.NET version is outdated, the latest version is 4.2.10.

  • Like 1


Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint Shop Pro Filetype | RAW Filetype | WebP Filetype

The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait


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.

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...