Sign in to follow this  
Rick Brewster

paint.net 4.1.7 alpha build 7079

Recommended Posts

I believe I've fixed the issues that were preventing some images from being saved (as reported earlier). I also fixed a few things in the Save Configuration dialog that were supposed to make it into alpha build 7077, but didn't because I incorrectly merged my pull request on GitHub.

 

The issue with the images that wouldn't save was that they had UserComment metadata in them (EXIF tag ID #37510). WIC (Windows Imaging Component) handles this in a way that my code wasn't coping with, so the data didn't round-trip correctly, and WIC decided to refuse the transaction instead. (And there was another bug: part of my wrapper was returning an error when WIC tried to send an IStream::Write() call with a 0 byte payload ... weird, probably a bug in their code, but shouldn't have broken down on my side.)

 

Download link: https://www.getpaint.net/files/zip/test/paint.net.4.107.7079.30132.install.zip

(I'm adding this to the auto-updater, too ...)

 

Change log:

  • Fixed: Some images could not be saved as JPEG due to mishandling of some metadata
  • Fixed some error handling in the Save Configuration dialog. An error dialog will now pop up to show the exception that occurred in addition to the usual "Preview: (error)" text that has always been shown.
  • Fixed: HEIC/HEIF file extensions are now registered with Windows so that you can double-click on them in Explorer to open them in Paint.NET

 

Enjoy! :)

  • Like 3
  • Upvote 1

Share this post


Link to post
Share on other sites

This pasted with alpha in 4.1.6? Are you sure it's actually being copied to the clipboard with alpha using DIB_V5?

Share this post


Link to post
Share on other sites

 @fixator10 appears to be using XNView MP.

 

When using the "Copy image data"  command XNview MP version 0.93.1 places a DIB_V5 on the clipboard that has an incorrect HGLOBAL size (it does not include the size of the 3 BI_BITFIELDS color masks).

This also reproduces in other Qt applications (such as as Krita), so it appears to be a bug in the Qt Framework clipboard code.

Because of this Paint.NET falls back to reading a Bitmap from the clipboard.

  • Like 1

Share this post


Link to post
Share on other sites

I'm using "FastStone image viewer", and it seems the same at 4.1.6, seems like this isn't issue with PDN.

 

However, on copy-pasting image from chromium-based browser (Opera) 4.1.7α pastes without transparency, 4.1.6 pastes with transparency.

 

4.1.6 video

4.1.7α video

Share this post


Link to post
Share on other sites

We have some more Copy/Paste fixes coming in the next build. Thanks for reporting any issues!

  • Upvote 1

Share this post


Link to post
Share on other sites

is there any chance the portable.zip version can be added to the auto update please?

Thank you

Share this post


Link to post
Share on other sites

Thank you for your reply.

 

I know, I recently found that out. But my request wasn't to make PDN portable, but to allow the auto updater to download and install the zip version.

 

Quote

2) The updater will not be enabled in this mode, and the UI for it will not be available in the Settings dialog.

 

But my version checks for, downloads and installs the NON-portable version. Why? Because the zip download version of PDN is outdated and I wanted to try the latest beta.  Which isn't available as a zipped portable version. The last check I made, the zip download was for v4.1.4 not the latest stable v4.1.6, hence my request. 🙂

Share this post


Link to post
Share on other sites

Having trouble with @midora's Animate Plug in :(

 

 

 

AGIF-error.png

 

Crash Log:

 

Application version: paint.net 4.1.7 (α 4.107.7079.30132)

System.MissingMethodException: Method not found: 'Int32 PaintDotNet.Data.Quantize.PaletteTable.FindClosestPaletteIndex(System.Drawing.Color)'.
   at PropertyBasedFileTypes.ImAgifFileType.OnSaveT(Document input, Stream output, PropertyBasedSaveConfigToken token, Surface scratchSurface, ProgressEventHandler progressCallback)
   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 353
   at PaintDotNet.Dialogs.SaveConfigDialog.<>c__DisplayClass48_0.<UpdatePreviewAsync>b__0() in D:\src\pdn\src\PaintDotNet\Dialogs\SaveConfigDialog.cs:line 604
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at PaintDotNet.Dialogs.SaveConfigDialog.<UpdatePreviewAsync>d__48.MoveNext() in D:\src\pdn\src\PaintDotNet\Dialogs\SaveConfigDialog.cs:line 623

 

Edited by toe_head2001
You had copied and pasted your sig into the post body.

Share this post


Link to post
Share on other sites

It looks like the ImAGIF plugin is going to need to be recompiled. It's using a class (PaletteTable) that's internal to Paint.NET that is being updated in 4.1.7 in a way that's incompatible with ImAGIF's use of it. You'll want to report this in that plugin's thread and make sure to get the author's attention.

Share this post


Link to post
Share on other sites

Oh dear, I was afraid of this :(  @midora seems to be AWOL these days, but I'll put it in his thread and hope ;)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this